PerlMagick No library found for -lperl

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.
cybergrrl
Posts: 21
Joined: 2013-11-18T05:08:31-07:00
Authentication code: 6789

PerlMagick No library found for -lperl

Post by cybergrrl »

I try to compile PerlMagick-6.86, but if I execute "perl Makefile.PL", I get the response:
Note (probably harmless): No library found for -lperl
When I execute "make test", the response is:
t/mpeg/read.t ..... Failed 2/2 subtests
t/write.t ......... Failed 1/32 subtests
Any idea?
cybergrrl
Posts: 21
Joined: 2013-11-18T05:08:31-07:00
Authentication code: 6789

Re: PerlMagick No library found for -lperl

Post by cybergrrl »

I compiled successfully ImageMagick and when I moved into the subdirectory PerlMagick of ImageMagick and execute perl Makefile.PL and make, I get the following output:
cp Q16.pm ../blib/lib/Image/Magick/Q16.pm
AutoSplitting ../blib/lib/Image/Magick/Q16.pm (../blib/lib/auto/Image/Magick/Q16)
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl5/ExtUtils/typemap -typemap typemap Q16.xs > Q16.xsc && mv Q16.xsc Q16.c
cannot open Q16.xs: No such file or directory
make[1]: *** [Q16.c] Error 2
what went wrong?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: PerlMagick No library found for -lperl

Post by magick »

When you configure ImageMagick, you need the --with-perl command-line option to configure the PerlMagick distribution.
cybergrrl
Posts: 21
Joined: 2013-11-18T05:08:31-07:00
Authentication code: 6789

Re: PerlMagick No library found for -lperl

Post by cybergrrl »

Do you have any idea how to install MagickPerl?? I'm completely helpless with this issue..
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: PerlMagick No library found for -lperl

Post by magick »

Sure,
  • cd ImageMagick-6.8.7-6
    ./configure --enable-shared -with-modules --with-perl
    make
    make install
cybergrrl
Posts: 21
Joined: 2013-11-18T05:08:31-07:00
Authentication code: 6789

Re: PerlMagick No library found for -lperl

Post by cybergrrl »

If I configure with these options:
./configure --with-freetype=yes --enable-shared --with-modules --with-perl=yes
I got the following error:
configure: error: in `/var/tmp/imperia_install/ImageMagick-6.8.7-5':
configure: error: libltdl is required for modules build
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: PerlMagick No library found for -lperl

Post by magick »

You can either install libltdl or don't use modules, that is remove the --with-modules configure script command-line option.
cybergrrl
Posts: 21
Joined: 2013-11-18T05:08:31-07:00
Authentication code: 6789

Re: PerlMagick No library found for -lperl

Post by cybergrrl »

I installed libltdl, but the error comes up again:
If I configure without the option --with-modules, then the configure command is successfull, but make install of PerlMagick shows this error:
t/mpeg/read.t ..... Failed 2/2 subtests
If I configure with the option --with-modules, then the configure command brings this error with lperl
cybergrrl
Posts: 21
Joined: 2013-11-18T05:08:31-07:00
Authentication code: 6789

Re: PerlMagick No library found for -lperl

Post by cybergrrl »

please help, I don't know, what to do
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: PerlMagick No library found for -lperl

Post by magick »

Did you install libltdl-devel? You made need to issue the ldconfig /usr/local/lib command to cache the ImageMagick libraries.
cybergrrl
Posts: 21
Joined: 2013-11-18T05:08:31-07:00
Authentication code: 6789

Re: PerlMagick No library found for -lperl

Post by cybergrrl »

I try to install lib64ltdl3-devel-1.5.6-4mdk.x86_64.rpm on my redhat linux server and it asks me for some prerequisites:
glibc-devel-2.9-0.20081113.5.3mnb2.x86_64.rpm
when I try to install this packeage, I get:
Error: Package: 6:glibc-devel-2.9-0.20081113.5.3mnb2.x86_64 (/glibc-devel-2.9-0.20081113.5.3mnb2.x86_64)
Requires: awk
Error: Package: 6:glibc-devel-2.9-0.20081113.5.3mnb2.x86_64 (/glibc-devel-2.9-0.20081113.5.3mnb2.x86_64)
Requires: glibc = 6:2.9-0.20081113.5.3mnb2
Installed: glibc-2.12-1.107.el6.i686 (@anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4)
glibc = 2.12-1.107.el6
Available: glibc-2.12-1.107.el6_4.5.i686 (rhel6-ossbasesetup-x86_64)
glibc = 2.12-1.107.el6_4.5
Error: Package: 6:glibc-devel-2.9-0.20081113.5.3mnb2.x86_64 (/glibc-devel-2.9-0.20081113.5.3mnb2.x86_64)
Requires: info-install
I think the prerequisites are endless, or is the mandriva distibution the wrong one?
cybergrrl
Posts: 21
Joined: 2013-11-18T05:08:31-07:00
Authentication code: 6789

Re: PerlMagick No library found for -lperl

Post by cybergrrl »

I think, I have some inconsistencies now. If I try to install glibc-2.9-0.20081113.5.3mnb2.x86_64.rpm as prerequisite of glibc-devel-2.9-0.20081113.5.3mnb2.x86_64.rpm, I get several errors like:
Error: Package: tcp_wrappers-7.6-57.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4)
Requires: libc.so.6(GLIBC_2.11)(64bit)
Removing: glibc-2.12-1.107.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4)
libc.so.6(GLIBC_2.11)(64bit)
Updated By: 6:glibc-2.9-0.20081113.5.3mnb2.x86_64 (/glibc-2.9-0.20081113.5.3mnb2.x86_64)
Not found
Available: glibc-2.12-1.107.el6_4.5.x86_64 (rhel6-ossbasesetup-x86_64)
libc.so.6(GLIBC_2.11)(64bit)
I can't install another GLIBC Version, what can I do now???
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: PerlMagick No library found for -lperl

Post by magick »

Most of your questions have little to do with ImageMagick and mostly to do with Linux administration. For those questions, seek out a Linux discussion forum.
cybergrrl
Posts: 21
Joined: 2013-11-18T05:08:31-07:00
Authentication code: 6789

Re: PerlMagick No library found for -lperl

Post by cybergrrl »

I only want to know, if perhaps a LD_LIBRARY_PATH or PATH is missing or if I have to install another version of libc.so.6(GLIBC_2.14)(64bit), which I think is impossible.
If I compile ImageMagick with the configure command: ./configure --with-freetype=yes --with-gslib=/usr/local/share/ghostscript/9.10/lib --with-gs-font-dir=/usr/local/share/fonts --with-perl=yes
the tests passed successfully and I start the "make install" command, I get the warning:
cd PerlMagick && /usr/bin/perl Makefile.PL
Warning: -L../magick/.libs changed to -L/var/tmp/imperia_install/ImageMagick-6.8.7-5/PerlMagick/../magick/.libs
Note (probably harmless): No library found for -lperl
Afterwards, when I try to execute the configure command for PerlMagick, I get the same error: No library found for -lperl
If I try to configure ImageMagick with additional options --enable-shared --with-modules, then the configure command brings the error: libltdl is required for modules build. Bit I try to install libltdl, I have to install libc.so.6(GLIBC_2.14)(64bit) as a prerequisite and this always fails. If I try to install libc.so.6(GLIBC_2.14)(64bit), I get the error MultiLib Versions.
So can you give me a hint what to do, I move in a circle
cybergrrl
Posts: 21
Joined: 2013-11-18T05:08:31-07:00
Authentication code: 6789

Re: PerlMagick No library found for -lperl

Post by cybergrrl »

I only want to know, if perhaps a LD_LIBRARY_PATH or PATH is missing or if I have to install another version of libc.so.6(GLIBC_2.14)(64bit), which I think is impossible.
If I compile ImageMagick with the configure command: ./configure --with-freetype=yes --with-gslib=/usr/local/share/ghostscript/9.10/lib --with-gs-font-dir=/usr/local/share/fonts --with-perl=yes
the tests passed successfully and I start the "make install" command, I get the warning:
cd PerlMagick && /usr/bin/perl Makefile.PL
Warning: -L../magick/.libs changed to -L/var/tmp/imperia_install/ImageMagick-6.8.7-5/PerlMagick/../magick/.libs
Note (probably harmless): No library found for -lperl
Afterwards, when I try to execute the configure command for PerlMagick, I get the same error: No library found for -lperl
If I try to configure ImageMagick with additional options --enable-shared --with-modules, then the configure command brings the error: libltdl is required for modules build. Bit I try to install libltdl, I have to install libc.so.6(GLIBC_2.14)(64bit) as a prerequisite and this always fails. If I try to install libc.so.6(GLIBC_2.14)(64bit), I get the error MultiLib Versions.
So can you give me a hint what to do, I move in a circle
Post Reply