Im referencing Kyle Shooter's Image::Magick perl module in my perl program, however
each time I attempt to compile and run the perl program, it spits out something along these lines
Can't load /usr/lib/perl5/../../Magick.so for module Image::libMagickCore.so.2. No such file or directory. Required libraries are not installed or not installed properly
After doing a bit of searching, I found Magick.so under the correct directory, so it is there. I have even tried moving Magick.so to the same directory as libMagickCore.so.2 and the compiler still complained
During installation of PerlMagick, I got a message about the package not being able to find
-lperl library. Could this be the reason why Image::Magick is not running properly in my perl program ?
problems using Image::Magick perl module
Re: problems using Image::Magick perl module
Did you install the shared version of ImageMagick-- its the default. If so, you should have installed libMagickCore.so.2. You might need to run ldconfig to update the dynamic link path.
Re: problems using Image::Magick perl module
libMagickCore.so.2 was there.
I just had to run ldconfig to update the dynamic link path and it was all good
thanks
I just had to run ldconfig to update the dynamic link path and it was all good
thanks
Re: problems using Image::Magick perl module
Can you please let me know how did you the ldconfig,because i too got same errors as you.