centos6.x 下lnmp1.1 安装后执行ldconfig,报错
# ldconfigldconfig: libraries libpng.so and libpng12.so.0.49.0 in directory /usr/lib have same soname but different type.
## 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
# ll /usr/lib
total 3120
drwxr-xr-x 3 root root 4096 Apr 162014 ConsoleKit
drwxr-xr-x 3 root root 4096 Apr 162014 anaconda-runtime
dr-xr-xr-x 2 root root 4096 Sep 232011 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 112010 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 182010 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 182010 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 112010 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 root145704 Aug 232010 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 182010 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 182010 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 182010 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 182010 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 root168308 Apr 252012 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 root158736 Apr 252012 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 root930192 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 182010 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 162014 python2.6
drwxr-xr-x 3 root root 4096 Apr 162014 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
#
[ 本帖最后由 showboy 于 2014-10-30 10:57 编辑 ] 另外还有一个问题,是1.1和之前的版本都有的问题
/usr/lib目录下的
mysql -> /usr/local/mysql/lib/mysql
是无效链接 之前就有libpng你自己有装了一个,卸掉其中一个
不同mysql的lib存在差异
页:
[1]