I needed to install ImageMagick on a SLES 10 Sp2 box tonight and ran into a couple of minor hiccups. Thought I would post them and the solutions I found in case someone else needs them.
First off I got this during make:
grep: /usr/lib/libjpeg.la: No such file or directory
/usr/bin/sed: can't read /usr/lib/libjpeg.la: No such file or directory
libtool: link: `/usr/lib/libjpeg.la' is not a valid libtool archive
Fair enough, I was missing a development package. Easily solved with:
yast2 -i libjpeg-devel
convert: error while loading shared libraries: libMagickCore.so.2: cannot open shared object file: No such file or directory
Oops - needed to update the links with the following command:
ldconfig /usr/local/lib
Ran convert again and blammo, ImageMagick works. Hope this helps save someone a night of pain.
9 comments:
brief, but EXCELLENT EXCELLENT Article!! I think I could have spent hours and hours with this problem!! thanks for the tip!!! after "ldconfig" command everything went ok!!.. I'm trying to configure NagiosGrapher!
cheers!
Carlos.
Thanks! Glad you find the post useful.
Thanks! Helped me. Would ever have found your article without Google.
thanks, this did save me from a night of pain!
Brilliant! Your answer is one google away and it worked for me!
Thank you very much!
I ran into the same problem - and you saved me with publishing your solution. :)
Rainer
Thanks! This was the problem!!!
Thanks, had spent hours trying to figure out the problem.
I'm running SLES 10 SP2 64-bit and needed to install the 32bit devel of libjpeg as well.
Post a Comment