Home > php教程 > php手册 > 安装ImageMagick出现error while loading shared libraries的解决方法,sharedlibraries

安装ImageMagick出现error while loading shared libraries的解决方法,sharedlibraries

WBOY
Release: 2016-06-13 09:25:05
Original
1401 people have browsed it

安装ImageMagick出现error while loading shared libraries的解决方法,sharedlibraries

本文实例讲述了安装安装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

Copy after login

那就表示系统不知道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」来更新一下才会生效

希望本文所述对大家有所帮助。

Linux系统中我安装wireshark的时出了问题,一直显示wireshark: error while loading shared libraries:

rpm搜portaudio 找描述信息是libraries的软件包,然后安装上
 

在ubunt的oslab目录下运行/run后出现/bochs/bochs-gdb: error while loading shared libraries: libSMs

缺少limSM.so.6这个文件。

想办法找到它就可以了。

有问题hi我
 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template