Can't locate loadable object for module Image::Magick in @INC

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
Alexey_A
Posts: 2
Joined: 2015-10-20T18:13:42-07:00
Authentication code: 1151

Can't locate loadable object for module Image::Magick in @INC

Post by Alexey_A » 2015-10-20T18:28:46-07:00

Please help.

I have:
Windows 10 x64
ActivePerl-5.20.2.2002 x64 - standart installation
ImageMagick-6.9.2-4-Q16-x64-dll or ImageMagick-7.0.0-0-Q16-x64-dll - standart installation with checkbox Install PerlMagick for Strawberry Perl 5.20
After install ImageMagick hes copy files in
\usr\site\lib\auto\Image\Magick - Magic.xs.dll, autosplit.ix
\usr\site\lib\Image - Magick.pm

When i run Perl script contains
use Image::Magick;
i have error:

Can't locate loadable object for module Image::Magick in @INC (@INC contains: D:/usr/site/lib D:/usr/lib .) at /www/cgi-bin/script.pl line 2.
&Image::Magick::constant not defined. The required ImageMagick libraries are not installed or not installed properly.: D:/WWW/cgi-bin/script.pl

Before this all is work, but i reinstall ActivePerl and ImageMagick.

if i rename Magic.xs.dll to Magic.dll i have other error.

What need to do? How fix the problem?

Tnx.

Alexey_A
Posts: 2
Joined: 2015-10-20T18:13:42-07:00
Authentication code: 1151

Re: Can't locate loadable object for module Image::Magick in @INC

Post by Alexey_A » 2015-10-21T15:01:31-07:00

I'm Installing ActivePerl-5.18.4.1805-MSWin32-x64-299195
and
ImageMagick-6.9.1-1-Q16-x86-dll
Now all work good.

After 6.9.1-1 version ImageMagick optimized for Strawberry Perl.
But i install ActiveState.
I think hes have conflict.

Post Reply