Page 1 of 1

perl library not found

Posted: 2009-12-12T03:05:03-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!