Installation problem [fixed]

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
Nef

Installation problem [fixed]

Post by Nef »

Hey guys,
I installed imagemagick ImageMagick-6.3.9 from the tar, but when I try to convert:

convert ok.jpg ok.png
convert: error while loading shared libraries: libMagickWand.so.1: cannot open shared object file: No such file or directory

It's a debian system and we had imagemagick installed with aptitude. It didn't recognize our JPEG and PNG libraries so I used the tar to compile and install this version. However, now it can't find this .so :'(
I located it, in /usr/local/lib/. But I don't know where it is looking for this library, else I can make some symlinks.

Any help greately appreciated!
Last edited by Nef on 2008-03-12T08:49:44-07:00, edited 1 time in total.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Installation problem

Post by magick »

Try adding /usr/local/lib in your /etc/ld/ld.so.conf.d directory and run ldconfig. Alternately set the LD_LIBRARY_PATH environment variable:
  • export LD_LIBRARY_PATH /usr/local/lib
    convert logo: logo.jpg
Nef

Re: Installation problem

Post by Nef »

That did the trick, thanks alot!
Post Reply