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!
missing library & PerlMagick
Re: missing library & PerlMagick
Used
as a temporary solution.
What is the permanent one?
Thanks in advance!
Code: Select all
./configure --with-perl=no
What is the permanent one?
Thanks in advance!
Re: missing library & PerlMagick
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.