安装ImageMagick出现error while loading shared libraries的解决方法
2014-09-23 11:19
465 查看
本文实例讲述了安装安装ImageMagick出现error while loading shared libraries的解决方法。分享给大家供大家参考。具体解决方法如下:
运行程序时,如遇到像下列这种错误:
./tests: error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or directory
那就表示系统不知道xxx.so 放在哪个目录下。
这个时候就要在/etc/ld.so.conf中加入xxx.so所在的目录。
一般而言,有很多so档会在/usr/local/lib这个目录下,所以在/etc/ld.so.conf中加入/usr/local/lib这一行,可以解决此问题。
将 /etc/ld.so.conf存档后,还要执行「/sbin/ldconfig –v」来更新一下才会生效。
希望本文所述对大家有所帮助。
您可能感兴趣的文章:
相关文章推荐
- 安装ImageMagick出现error while loading shared libraries的解决方法
- NCARG安装配置出现error while loading shared libraries: libg2c.so.0问题额解决办法
- 解决 Magent 安装编译时出现错误和magent: error while loading shared libraries: libevent-2.0.so.5
- ubuntu编译android出现error while loading shared libraries: libstdc++.so.6: cannot open shared objec的解决方法
- 安装mysql报错—解决方法:error while loading shared libraries: libssl.so.6
- PostgreSQL用户创建删除及error while loading shared libraries解决方法
- Java 重新安装JDK之后,运行java指令出现error while loading shared libraries: libjli.so
- error while loading shared libraries的解决方法2则
- 针对Ubuntu下运行可执行文件出现的error while loading shared libraries: xxx.so的解决办法
- Linux下报“error while loading shared libraries: libncurses.so.4...”错误的解决方法
- 解决Debian下安装thunderbird遇到“error while loading shared libraries: libstdc++.so.5”的问题
- error while loading shared libraries的解决方法
- httrack: error while loading shared libraries: libhttrack.so.2的解决方法
- 解决 error while loading shared libraries 错误方法
- sqlplus: error while loading shared libraries解决方法
- PostgreSQL用户创建删除及error while loading shared libraries解决方法
- ubuntu下安装andt出现error while loading shared libraries: libncurses.so.5: cannot open shared object file
- error while loading shared libraries: libnet.so.9: cannot open shared object file: No such **解决方法
- 安装二进制软件包的mysql出现 error while loading shared libraries: libaio.so.1:
- error while loading shared libraries的解决方法2则(转)