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!

Comments

Popular posts from this blog

Using sed with backreference as the replacement pattern

Use Shell Editor for Eclipse for editing bash, ksh, csh in Unix/Linux system

LVM: How to remove a volume using pvremove