Page 1 of 1

missing library & PerlMagick

Posted: 2009-12-12T02:01:17-07:00
by xander123
Hello!
I've installed ImageMagick-6.5.8 on Centos 5.3 without any problems, It works good.
but my perl script doesn't work

installing perlMagick:
> perl Makefile.PL
Note (probably harmless): No library found for -lperl
Writing Makefile for Image::Magick
>

there is no .lperl library in /magick/.libs

gcc-64bit-hack: enabled
/usr/bin/ld: skipping incompatible /usr/lib64/libperl.so when searching for -lperl
/usr/bin/ld: skipping incompatible /usr/lib64/libperl.so when searching for -lperl
/usr/bin/ld: skipping incompatible /usr/lib64/libperl.so when searching for -lperl
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libperl.so when searching for -lperl
/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libperl.so when searching for -lperl
/usr/bin/ld: skipping incompatible /usr/lib64/libperl.so when searching for -lperl
/usr/bin/ld: skipping incompatible /usr/lib64/libperl.so when searching for -lperl
/usr/bin/ld: cannot find -lperl

How to fix it?

Thank you!

Re: missing library & PerlMagick

Posted: 2010-02-07T19:36:37-07:00
by vanfukov
Used

Code: Select all

./configure --with-perl=no
as a temporary solution.

What is the permanent one?
Thanks in advance!

Re: missing library & PerlMagick

Posted: 2010-02-08T05:45:09-07:00
by magick
The perl library is only required for a static build of PerlMagick. The default dynamic build of ImageMagick does not require it and you can safely build PerlMagick and install it and ignore the warning.