编译Imagemagick出错
centos6 按照这个安装的https://www.vpser.net/manage/lnmp-lnmpa-imagemagick-install-tutorial.htmlldconfig出现
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
如何解决这个问题呢?谢谢! 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
回复 2# 的帖子
谢谢军哥,OK了。
页:
[1]