VPS侦探论坛

 找回密码
 注册
查看: 6307|回复: 2

centos6.x 下lnmp1.1 安装后执行ldconfig,报错

[复制链接]
发表于 2014-10-30 10:49:09 | 显示全部楼层 |阅读模式

[root@vps lnmp1.1-full]# ldconfig
ldconfig: libraries libpng.so and libpng12.so.0.49.0 in directory /usr/lib have same soname but different type.
[root@vps lnmp1.1-full]#[root@vps lnmp1.1-full]# uname -a
Linux vps 2.6.32-042stab088.4 #1 SMP Thu Apr 3 17:41:05 MSK 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@vps lnmp1.1-full]# ll /usr/lib
total 3120
drwxr-xr-x 3 root root    4096 Apr 16  2014 ConsoleKit
drwxr-xr-x 3 root root    4096 Apr 16  2014 anaconda-runtime
dr-xr-xr-x 2 root root    4096 Sep 23  2011 games
drwxr-xr-x 3 root root    4096 Oct 15 06:46 gcc
drwxr-xr-x 2 root root   12288 Oct 30 10:17 gconv
drwxr-xr-x 3 root root    4096 Oct 16 02:24 gio
lrwxrwxrwx 1 root root      15 Oct 30 09:53 libfam.so.0 -> libfam.so.0.0.0
-rwxr-xr-x 1 root root   28772 Nov 11  2010 libfam.so.0.0.0
lrwxrwxrwx 1 root root      14 Oct 30 09:53 libform.so.5 -> libform.so.5.7
-rwxr-xr-x 1 root root   57708 Aug 18  2010 libform.so.5.7
lrwxrwxrwx 1 root root      15 Oct 30 09:53 libformw.so.5 -> libformw.so.5.7
-rwxr-xr-x 1 root root   65068 Aug 18  2010 libformw.so.5.7
lrwxrwxrwx 1 root root      24 Oct 30 09:53 libfreebl3.chk -> ../../lib/libfreebl3.chk
lrwxrwxrwx 1 root root      23 Oct 30 09:53 libfreebl3.so -> ../../lib/libfreebl3.so
lrwxrwxrwx 1 root root      20 Oct 30 09:53 libgamin-1.so.0 -> libgamin-1.so.0.1.10
-rwxr-xr-x 1 root root   28776 Nov 11  2010 libgamin-1.so.0.1.10
lrwxrwxrwx 1 root root      21 Oct 30 10:31 libjpeg.so -> /usr/lib64/libjpeg.so
lrwxrwxrwx 1 root root      24 Oct 30 10:31 libjpeg.so.62 -> /usr/lib64/libjpeg.so.62
lrwxrwxrwx 1 root root      28 Oct 30 10:31 libjpeg.so.62.0.0 -> /usr/lib64/libjpeg.so.62.0.0
lrwxrwxrwx 1 root root      16 Oct 30 09:53 liblzma.so.0 -> liblzma.so.0.0.0
-rwxr-xr-x 1 root root  145704 Aug 23  2010 liblzma.so.0.0.0
lrwxrwxrwx 1 root root      27 Oct 30 10:31 libmcrypt.la -> /usr/local/lib/libmcrypt.la
lrwxrwxrwx 1 root root      27 Oct 30 10:31 libmcrypt.so -> /usr/local/lib/libmcrypt.so
lrwxrwxrwx 1 root root      29 Oct 30 10:31 libmcrypt.so.4 -> /usr/local/lib/libmcrypt.so.4
lrwxrwxrwx 1 root root      33 Oct 30 10:31 libmcrypt.so.4.4.8 -> /usr/local/lib/libmcrypt.so.4.4.8
-rwxr-xr-x 1 root root   17312 Oct 15 09:36 libmemusage.so
lrwxrwxrwx 1 root root      14 Oct 30 09:53 libmenu.so.5 -> libmenu.so.5.7
-rwxr-xr-x 1 root root   28024 Aug 18  2010 libmenu.so.5.7
lrwxrwxrwx 1 root root      15 Oct 30 09:53 libmenuw.so.5 -> libmenuw.so.5.7
-rwxr-xr-x 1 root root   28696 Aug 18  2010 libmenuw.so.5.7
lrwxrwxrwx 1 root root      25 Oct 30 10:31 libmhash.a -> /usr/local/lib/libmhash.a
lrwxrwxrwx 1 root root      26 Oct 30 10:31 libmhash.la -> /usr/local/lib/libmhash.la
lrwxrwxrwx 1 root root      26 Oct 30 10:31 libmhash.so -> /usr/local/lib/libmhash.so
lrwxrwxrwx 1 root root      28 Oct 30 10:31 libmhash.so.2 -> /usr/local/lib/libmhash.so.2
lrwxrwxrwx 1 root root      32 Oct 30 10:31 libmhash.so.2.0.1 -> /usr/local/lib/libmhash.so.2.0.1
lrwxrwxrwx 1 root root      15 Oct 30 09:53 libpanel.so.5 -> libpanel.so.5.7
-rwxr-xr-x 1 root root   10316 Aug 18  2010 libpanel.so.5.7
lrwxrwxrwx 1 root root      16 Oct 30 09:53 libpanelw.so.5 -> libpanelw.so.5.7
-rwxr-xr-x 1 root root   10316 Aug 18  2010 libpanelw.so.5.7
-rwxr-xr-x 1 root root    7464 Oct 15 09:36 libpcprofile.so
lrwxrwxrwx 1 root root      20 Oct 30 10:31 libpng.so -> /usr/lib64/libpng.so
lrwxrwxrwx 1 root root      16 Oct 30 09:53 libpng.so.3 -> libpng.so.3.49.0
-rwxr-xr-x 1 root root  168308 Apr 25  2012 libpng.so.3.49.0
lrwxrwxrwx 1 root root      18 Oct 30 09:53 libpng12.so.0 -> libpng12.so.0.49.0
-rwxr-xr-x 1 root root  158736 Apr 25  2012 libpng12.so.0.49.0
lrwxrwxrwx 1 root root      19 Oct 30 10:19 libstdc++.so.6 -> libstdc++.so.6.0.13
-rwxr-xr-x 1 root root  930192 Oct 15 04:06 libstdc++.so.6.0.13
lrwxrwxrwx 1 root root      13 Oct 30 09:53 libtic.so.5 -> libtic.so.5.7
-rwxr-xr-x 1 root root   73424 Aug 18  2010 libtic.so.5.7
lrwxrwxrwx 1 root root      16 Oct 30 10:24 libxml2.so.2 -> libxml2.so.2.7.6
-rwxr-xr-x 1 root root 1351340 Oct 21 21:45 libxml2.so.2.7.6
dr-xr-xr-x 2 root root    4096 Oct 30 10:17 locale
lrwxrwxrwx 1 root root      26 Oct 30 10:39 mysql -> /usr/local/mysql/lib/mysql
drwxr-xr-x 3 root root    4096 Apr 16  2014 python2.6
drwxr-xr-x 3 root root    4096 Apr 16  2014 rpm
lrwxrwxrwx 1 root root      30 Oct 30 09:53 sendmail -> /etc/alternatives/mta-sendmail
lrwxrwxrwx 1 root root      25 Oct 30 09:53 sendmail.sendmail -> ../sbin/sendmail.sendmail
drwxr-xr-x 2 root root    4096 Oct 30 10:06 yum-plugins
[root@vps lnmp1.1-full]#

[ 本帖最后由 showboy 于 2014-10-30 10:57 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2014-10-30 10:58:37 | 显示全部楼层


另外还有一个问题,是1.1和之前的版本都有的问题
/usr/lib目录下的
mysql -> /usr/local/mysql/lib/mysql

是无效链接
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2014-10-30 12:34:32 | 显示全部楼层

之前就有libpng你自己有装了一个,卸掉其中一个

不同mysql的lib存在差异
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-16 02:39 , Processed in 0.025696 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表