Re: re error when using convert
Posted: 2009-03-10T04:28:02-07:00
paste this snippet
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.
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.