re error when using convert

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
russellbarnhart

Re: re error when using convert

Post by russellbarnhart »

paste this snippet

Code: Select all

#!/bin/sh
export LD_LIBRARY_PATH=/usr/local/lib
into '/etc/profile.d/set_ld_library_path.sh'

the LD_LIBRARY_PATH variable must be the directory that contains all the imagemagick relevant libraries.
try the command 'ls -l /usr/local/lib' in terminal to make sure thats where they are.
if they're not there, try 'sudo find / -name libMagickWand.so.2' and that will show you where the file you're looking to link to exists.
note that on my system, the actual file 'ibMagickWand.so.2' exists elsewhere, but a symbolic link was created (upon install?) from /usr/local/lib to the appropriate folder.

not sure why this works, but it does. can anyone give an explanation? i ran into the same problem after compiling and install 6.4.9-10.
Post Reply