Thursday, October 22, 2009

libMagickCore.so.1 No such file or directory

ImageMagick is such a very cool tool for editing/modifying images through shell. However, when I ran out of trouble encountering the problem like, example running the "convert" (one of the ImageMagick tools)command:


$> convert test.png test.pdf
convert: error while loading shared libraries: libMagickCore.so.1: cannot open shared object file: No such file or directory

and doing:

$> locate libMagickCore.so.1
/usr/lib/libMagickCore.so.1

which means, it does exist. In order to fix this, just run:

$> ldconfig

and everything will solve the problem!

Hope this helps!

No comments: