Page 1 of 2
PerlMagick No library found for -lperl
Posted: 2013-11-19T09:01:40-07:00
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?
Re: PerlMagick No library found for -lperl
Posted: 2013-11-19T09:11:33-07:00
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?
Re: PerlMagick No library found for -lperl
Posted: 2013-11-19T10:21:58-07:00
by magick
When you configure ImageMagick, you need the --with-perl command-line option to configure the PerlMagick distribution.
Re: PerlMagick No library found for -lperl
Posted: 2013-11-20T05:28:15-07:00
by cybergrrl
Do you have any idea how to install MagickPerl?? I'm completely helpless with this issue..
Re: PerlMagick No library found for -lperl
Posted: 2013-11-20T05:32:30-07:00
by magick
Sure,
- cd ImageMagick-6.8.7-6
./configure --enable-shared -with-modules --with-perl
make
make install
Re: PerlMagick No library found for -lperl
Posted: 2013-11-20T06:46:25-07:00
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
Re: PerlMagick No library found for -lperl
Posted: 2013-11-20T07:01:57-07:00
by magick
You can either install libltdl or don't use modules, that is remove the --with-modules configure script command-line option.
Re: PerlMagick No library found for -lperl
Posted: 2013-11-20T08:46:37-07:00
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
Re: PerlMagick No library found for -lperl
Posted: 2013-11-20T08:52:58-07:00
by cybergrrl
please help, I don't know, what to do
Re: PerlMagick No library found for -lperl
Posted: 2013-11-20T10:48:54-07:00
by magick
Did you install libltdl-devel? You made need to issue the ldconfig /usr/local/lib command to cache the ImageMagick libraries.
Re: PerlMagick No library found for -lperl
Posted: 2013-11-21T04:06:57-07:00
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?
Re: PerlMagick No library found for -lperl
Posted: 2013-11-21T04:30:11-07:00
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???
Re: PerlMagick No library found for -lperl
Posted: 2013-11-21T04:35:27-07:00
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.
Re: PerlMagick No library found for -lperl
Posted: 2013-11-25T09:10:16-07:00
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
Re: PerlMagick No library found for -lperl
Posted: 2013-11-25T09:10:17-07:00
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