Error while loading shared libraries

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Peter_VD
Posts: 5
Joined: 2012-04-13T07:32:33-07:00
Authentication code: 8675308

Error while loading shared libraries

Post by Peter_VD »

Hello,
I have installed the jpeg delegate and i get this message after the next command:
[myserver}:/# convert -list configure

convert: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory

The file libjpeg.so.8 excists in usr/local/lib , but is not recognized.
I also restart apache.
I first installed the delegate and than installed IM again, what can I do to repair this.
Thank you, Peter
Peter_VD
Posts: 5
Joined: 2012-04-13T07:32:33-07:00
Authentication code: 8675308

Re: Error while loading shared libraries

Post by Peter_VD »

I found the solution after a while on Google.
I executed these lines and everything went back to running smoothly.

ranlib /usr/local/lib/libjpeg.a
ldconfig /usr/local/lib

Hope this helps somebody else.
Peter
Post Reply