Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Installing PerlMagick on Windows XP

by erabus (Sexton)
on Apr 25, 2005 at 20:53 UTC ( [id://451346]=perlquestion: print w/replies, xml ) Need Help??

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

I have been unsuccessfully trying to install PerlMagick on a Windows XP machine. From previous postings it sounds as if I need to run particular versions of Perl and PerlMagick. I am hoping that someone knows how to get the current versions of Perl and PerlMagick to work together.

I receive this error:
Can't load 'c:/Perl/site/lib/auto/Image/Magick/Magick.dll' for module +Image::Magick: load_file:The specified module could not be f ound at c:/Perl/lib/DynaLoader.pm line 230.
When running this script:
use strict; use lib ( "C:/Program Files/ImageMagick-6.2.2-Q16" ); use Image::Magick; my($image, $x); $image = Image::Magick->new; $x = $image->Read('girl.png', 'logo.png', 'rose.png'); warn "$x" if "$x"; exit;
The file 'c:/Perl/site/lib/auto/Image/Magick/Magick.dll' does exist. I am using this version of Perl:
This is perl, v5.8.6 built for MSWin32-x86-multi-thread (with 3 registered patches, see perl -V for more detail) Copyright 1987-2004, Larry Wall Binary build 811 provided by ActiveState Corp. http://www.ActiveState. +com ActiveState is a division of Sophos. Built Dec 13 2004 09:52:01

I installed PerlMagick from this version of the Image Magick installer:
ImageMagick-6.2.2-0-Q16-windows-dll.exe

Replies are listed 'Best First'.
Re: Installing PerlMagick on Windows XP
by Jouke (Curate) on Apr 26, 2005 at 18:22 UTC
    The error message you get (about the specified module not loading), has to do with ImageMagick's own DLLs, not the Perl module's DLLs.
    When you install ImageMagick, it defines (somewhere in the registry) where it stores its DLLs. Somehow this got messed up in your installation. Maybe it's a good plan to install the ImageMagick PPM from http://www.bribes.org/perl/ppmdir.html, with which I've had very good experiences.


    Jouke Visser
    Using Perl to enable the disabled: pVoice
      Thank you

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://451346]
Approved by moot
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-24 19:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found