Home > Backend Development > PHP Tutorial > Solution to error while loading shared libraries when installing ImageMagick, sharedlibraries_PHP tutorial

Solution to error while loading shared libraries when installing ImageMagick, sharedlibraries_PHP tutorial

WBOY
Release: 2016-07-13 10:18:33
Original
957 people have browsed it

Solution to the error while loading shared libraries when installing ImageMagick, sharedlibraries

The example in this article describes the solution to the error while loading shared libraries when installing ImageMagick. Share it with everyone for your reference. The specific solutions are as follows:

When running the program, if you encounter an error like the following:

./tests: error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or directory

Copy after login

That means the system does not know which directory xxx.so is placed in.

At this time, you need to add the directory where xxx.so is located in /etc/ld.so.conf.

Generally speaking, there are many so files in the directory /usr/local/lib, so Add the line /usr/local/lib to /etc/ld.so.conf to solve this problem Question.

After archiving /etc/ld.so.conf, you need to execute "/sbin/ldconfig –v" to update it to take effect.

I hope this article will be helpful to everyone.

There was a problem when I installed wireshark in the Linux system. It kept showing wireshark: error while loading shared libraries:

Rpm search portaudio to find the software package whose description information is libraries, and then install it

After running /run in the oslab directory of ubunt, /bochs/bochs-gdb: error while loading shared libraries: libSMs

The file limSM.so.6 is missing.

Just find a way to find it.

Hi me if you have any questions

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/882896.htmlTechArticleSolution to error while loading shared libraries when installing ImageMagick, sharedlibraries This article describes the example of installing ImageMagick and error while loading Shared libraries...
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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template