itopidea 发表于 2012-2-13 17:05:24

编译Imagemagick出错

centos6 按照这个安装的https://www.vpser.net/manage/lnmp-lnmpa-imagemagick-install-tutorial.html
ldconfig出现
ldconfig: /usr/lib/libmysqlclient.so.16 is not a symbolic link
ldconfig: /usr/lib/libmysqlclient_r.so.16 is not a symbolic link

操作:
ln -s libmysqlclient_r.so.16 libmysqlclient_r.so.16.0.0
ln: creating symbolic link `libmysqlclient_r.so.16.0.0': File exists
# ls -s libmysqlclient.so.16 libmysqlclient.so.16.0.0
2976 libmysqlclient.so.162976 libmysqlclient.so.16.0.0
# ldconfig
ldconfig: /usr/lib/libmysqlclient.so.16 is not a symbolic link
ldconfig: /usr/lib/libmysqlclient_r.so.16 is not a symbolic link




如何解决这个问题呢?谢谢!

licess 发表于 2012-2-13 19:01:18

ln -sf /usr/local/mysql/lib/mysql/libmysqlclient.so.16 /usr/lib/libmysqlclient.so.16

ln -sf /usr/local/mysql/lib/mysql/libmysqlclient_r.so.16 /usr/lib/libmysqlclient_r.so.16
ldconfig

itopidea 发表于 2012-2-14 11:01:38

回复 2# 的帖子

谢谢军哥,OK了。
页: [1]
查看完整版本: 编译Imagemagick出错