perl library not found

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Locked
xander123

perl library not found

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!

Locked