[magick-users] Shared library error when installed in home directory
Nguyen Vu Hung
vuhung16plus at gmail.com
Tue Sep 9 22:22:56 PDT 2008
2008/8/23 Matthew Botos <matthew at botos.com>
> Hi,
> I installed a binary RPM of ImageMagick 6.3.8.1 in the home directory
> of my web host since I don't have root access. I also installed the
> required liblcms libraries and set LD_LIBRARY_PATH, but still receive
> a shared library error.
>
> mbotos [~]# echo $LD_LIBRARY_PATH
> :/usr/lib64:/usr/lib:/home/mbotos/ImageMagick/lib64:/home/mbotos/
> ImageMagick/lib
>
> mbotos [~]# ImageMagick/bin/convert
> ImageMagick/bin/convert: error while loading shared libraries:
> liblcms.so.1: cannot open shared object file: No such file or directory
You should do
Put /home/mbotos/ImageMagick/lib in the first entry of LD_LIBRARY_PATH.
export LD_LIBRARY_PATH=/home/mbotos/ImageMagick/lib:$LD_LIBRARY_PATH
Because convert will find the libraries it needs in the paths of
LD_LIBRARY_PATH,
in that order.
--
Best Regards,
Nguyen Hung Vu ( Nguyễn Vũ Hưng )
vuhung16plus{remove}@gmail.dot.com
<vuhung16plus%7Bremove%7D at gmail.dot.com>, YIM: vuhung16 , Skype:
vuhung16dg
Life through a viewfinder:
http://bighugelabs.com/flickr/dna.php?username=77987497@N00
More information about the Magick-users
mailing list