cpan/image magick
Martin Cleaver
mrjcleaver at yahoo.co.uk
Thu Aug 29 00:07:47 CDT 2002
Hey Scott,
I'm tracking through a problem with Image::WorldMap as used at
perl.pm but I'm stuck as Image Magick isn't loading properly.
Could you please give me a clue as to what's wrong here?
Loading DB routines from perl5db.pl version 1.07
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.
main::(-e:1): 0
DB<1> use Image::Imlib2;
# create a new image
my $image = Image::Imlib2->new(200, 200);
# set a colour (rgba, so this is transparent orange)
$image->set_color(255, 127, 0, 127);
DB<2>
DB<2>
DB<3> perl: error while loading shared libraries:
/usr/lib/perl5/site_perl/5.6
.0/i386-linux/auto/Image/Imlib2/Imlib2.so: undefined symbol:
imlib_create_image
bash-2.04$
Much appreciated,
Martin.
--- Scott Penrose <scottp at dd.com.au> wrote: > Yes absolutely.
>
> You have to install image magic development first. So that it
> can find
> the header files etc.
> Image::Magic is just a perl wrapper to the C API.
>
> You may also have to define the location of those files,
> sometimes with
> an environment variable, other times with a parameter to
> Makefile.PL
>
> Scott
>
> On Tuesday, August 27, 2002, at 03:59 , Jason Parlevliet wrote:
>
> >>
> >> Jason,
> >>
> >> well it's not just you, I get the same error when I try
> downloading
> >> Image::Magick using the CPAN module.
> >>
> >> I'm confused as to why rpms are even relevant if you
> >> were using the CPAN module (perl -MCPAN -e shell).
> >
> > Err, might be my ignorance. ImageMagick is it's own set of
> commands, I
> > thought the Image::Magick perl module was a set of Perl
> interfaces to
> > it or something?
> >
> > Jase
> >
> >
> >
> >
> --
> Scott Penrose
> Anthropomorphic Personification Expert
> http://search.cpan.org/search?author=SCOTT
> scott at cpan.org
>
> Dismaimer: While every attempt has been made to make sure that
> this
> email only contains zeros and ones, there has been no effort
> made to
> guarantee the quantity or the order.
>
=====
--
Martin at Cleaver.org (please don't reply to @yahoo)
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
More information about the Melbourne-pm
mailing list