Code: Select all
#!/bin/sh
export LD_LIBRARY_PATH=/usr/local/lib
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.