Baz has asked for the wisdom of the Perl Monks concerning the following question:

Ok I'm trying to get Image/Magick.pm working. So far I have the module compiling to the point where I get the error "Can't locate loadable object for module Image::Magick". I guess this means I now need the actual Image-Magick kit, as Image/Magick.pm is just an interface to this. So anyway, I downloaded this (version 5.4.6) and ran the configure file(as it says to do in readme.txt) and all looked fine. At this point, there should be a program called "display", but "find" doesn't locate such a file. THe FAQ was no help on this. Now, when I run a script using Image/Magick.pm im getting the same "Can't locate loadable object" error as before. What am I doing wrong? This is my first time using Image Magick or hearing of Loadable Objects, so I'm really lost. Any tips?

Replies are listed 'Best First'.
•Re: Image-magick and loadable objects
by merlyn (Sage) on Jul 20, 2002 at 18:51 UTC
    ImageMagick is one of those things that is very fragile to build. You cannot build the cpan module directly, because it has to correspond to precisely the version of ImageMagick that you have installed.

    My advice is to download the ImageMagick .tar.gz directly from the IM's distribution sites, then configure and install it, ensuring you say --with-perl, which will build the Perl module as well.

    -- Randal L. Schwartz, Perl hacker

Re: Image-magick and loadable objects
by BUU (Prior) on Jul 20, 2002 at 19:24 UTC
    When i ran into that error, what happened was (on windows) i was missing a .dll file. Make sure you have all the .dll files in the directory itself or whatever the fil structure is supposed to be.