PDA

View Full Version : Error running an ImageMagick Perl script



maychan
11-15-2004, 10:52 PM
WestHost recently installed PerlMagick on my WestHost account. I am testing it using a very simple script:

--------------------------------
#!/usr/bin/perl
use Image::Magick;

$image=Image::Magick->new();
my $infile = shift;
my $outfile = shift;

$x=$image->ReadImage($infile);
warn "$x" if "$x";
$image->Thumbnail('250');
warn "$x" if "$x";
$image->Write($outfile);
--------------------------------

I SSH into my account and run the perl script. On the ReadImage() line, it gives me this error:

perl: relocation error: /usr/local/perl/lib/site_perl/5.6.0/i686-linux/auto/Image/Magick/Magick.so: undefined symbol: perl_get_sv


What do you think could be the problem?

Thanks,
May Chan

davendar
12-11-2004, 04:30 PM
I get the same error and would like to use ImageMagick.

davendar
12-14-2004, 05:20 PM
Anyone reading these posts? Anyone have any solutions?