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
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.
Rpm search portaudio to find the software package whose description information is libraries, and then install it
The file limSM.so.6 is missing.
Just find a way to find it.
Hi me if you have any questions