Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Image::Magick issues

by sunadmn (Curate)
on Sep 04, 2003 at 15:01 UTC ( #288890=perlquestion: print w/replies, xml ) Need Help??

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

Good day all I have a small script I am using to test the Image::Magick pm on one of my systems and am having all sorts of issues.
This is a new install of the lib and the pm on a Solaris 8 box running perl 5.8.0. Now when I run the following see the output.
[root@steve cgi-bin] 3# perl -cwTM-strict ./text.cgi Can't load '/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Ima +ge/Magick/' for module Image::Magick: perl: fatal: +relocation error: file /usr/local/lib/perl5/site_perl/5.8.0/sun4-sola +ris/auto/Image/Magick/ symbol XDPSPixelsPerPoint: reference +d symbol not found at /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoa line 229. at ./text.cgi line 6 Compilation failed in require at ./text.cgi line 6. BEGIN failed--compilation aborted at ./text.cgi line 6.
I have tried to install the older version of the pm and the new and both versions I get the exact same error. I have tried to search the web for any know issues like this and have found nothing. Please if anyone knows how to fix this let me know as I am starting to loose my hair.,


Replies are listed 'Best First'.
Re: Image::Magick issues
by perrin (Chancellor) on Sep 04, 2003 at 15:38 UTC
    How did you install it? Did the tests pass?
      Inside which app the lib or the pm??? The pm didn't have a make test and I believe the lib ran fine.
        Please read the perlmodinstall man page. It sounds like you did not follow the standard installation procedure for this module.
      ++ perrin.

      This sounds like the module wasn't properly installed... Are you sure you ran the distribution's normal "make test"/"make install" sequence, rather than just copying the file into your library directory?

        Ok here is exactly what was run on the system. First downloaded the source for bot ImageMagick and then the PerlMagick pm source gunzip'd the files un tar'd them and them in the respective dir's ran the ./configure, make , tried make test , and then make install ( ImageMagick lib ) here is the error for ImageMagic when you attempt to run make test;
        [root@steve ImageMagick-5.5.6] 33# make test make: Fatal error: Don't know how to make target `test'
        Now for the pm I ran the following perl Makefile.PL, make, make test, make install. Now this time when I ran thetest if faild everything. This is what I get when I run the initial perl Makefile.PL:
        perl Makefile.PL Checking if your kit is complete... Looks good Note (probably harmless): No library found for -llcms Note (probably harmless): No library found for -lfreetype Writing Makefile for Image::Magick
        Any ideas of what the major issue might be???

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://288890]
Approved by broquaint
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2020-07-08 11:04 GMT
Find Nodes?
    Voting Booth?

    No recent polls found