missing library & PerlMagick

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
xander123

missing library & PerlMagick

Post 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!
vanfukov

Re: missing library & PerlMagick

Post by vanfukov »

Used

Code: Select all

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

What is the permanent one?
Thanks in advance!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: missing library & PerlMagick

Post 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.
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 9 guests