I seem to have a problem that I cannot resolve myself.
I installed ImageMagick-6.9.1-10 and PerlMagick-6.89 successfully on a CentOS 7 system. Once I start a simple perl script that initiates the "use Image::Magick;", the program aborts with the following error:
Can't load '/usr/local/lib64/perl5/auto/Image/Magick/Magick.so' for module Image::Magick: libMagickCore-6.Q16.so.2: cannot open shared object file: No such file or directory at /usr/lib64/perl5/DynaLoader.pm line 190.
I checked and the '/usr/local/lib64/perl5/auto/Image/Magick/Magick.so' is available and has read and execute permissions for the world.
Help to resolve this issue is highly appreciated. please let me know If you need more info or things I can verify.
I have been searching the internet but no luck in finding the solution. based on advise elsewhere I executed the command ldconfig /usr/local/lib64 without any change in outcome.
Frans
runtime problem with perlmagic
Re: runtime problem with perlmagic
It looks like Perl is unable to find 'libMagickCore-6.Q16.so.2', you should have the directory that contains this file in your library path.
Re: runtime problem with perlmagic
thank you. I did 'ldconfig /usr/local/lib' and the error is gone. the message put me on the wrong foot I guess. Problem solved.
Re: runtime problem with perlmagic
shouldn't the configuration of included libraries not be part of the install script?