You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when building on Debian Linux using Perl 5.22.2 installed via perlbrew without option -Duseshrplib i encountered the following error:
cpanm (App::cpanminus) 1.7042 on perl 5.022002 built for x86_64-linux
Work directory is /var/www/.cpanm/work/1474971478.10807
You have make /usr/bin/make
You have /usr/bin/wget
You have /bin/tar: tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching Alien::ImageMagick () on cpanmetadb ...
--> Working on Alien::ImageMagick
Fetching http://www.cpan.org/authors/id/J/JE/JETEVE/Alien-ImageMagick-0.07.tar.gz
-> OK
Unpacking Alien-ImageMagick-0.07.tar.gz
Entering Alien-ImageMagick-0.07
Checking configure dependencies from META.json
Checking if you have ExtUtils::Install 1.46 ... Yes (2.04)
Checking if you have Alien::Base::ModuleBuild 0.009 ... No
Checking if you have Module::Build 0.38 ... No
==> Found dependencies: Alien::Base::ModuleBuild, Module::Build
Searching Alien::Base::ModuleBuild (0.009) on cpanmetadb ...
--> Working on Alien::Base::ModuleBuild
Fetching http://www.cpan.org/authors/id/P/PL/PLICEASE/Alien-Base-0.029.tar.gz
-> OK
Unpacking Alien-Base-0.029.tar.gz
Entering Alien-Base-0.029
Checking configure dependencies from META.json
Checking if you have ExtUtils::Install 1.46 ... Yes (2.04)
Checking if you have Module::Build 0.38 ... No
==> Found dependencies: Module::Build
Searching Module::Build (0.38) on cpanmetadb ...
--> Working on Module::Build
...skipping...
_LARGE_FILES=1 -DHAVE_CONFIG_H Q16HDRI.c
rm -f ../blib/arch/auto/Image/Magick/Q16HDRI/Q16HDRI.so
LD_RUN_PATH="/var/www/perl5/perlbrew/perls/perl-5.22.2/lib:/usr/lib" cc -L/var/www/perl5/perlbrew/perls/perl-5.22.2/lib -lMagickCore-7.Q16HDRI -shared -O2 -L/usr/local/lib -fstack-protector -L/var/www/perl5/perlbrew/perls/perl-5.22.2/lib/5.22.2/x86_64-linux/CORE/ Q16HDRI.o -o ../blib/arch/auto/Image/Magick/Q16HDRI/Q16HDRI.so \
-L/var/www/perl5/perlbrew/perls/perl-5.22.2/lib -lMagickCore-7.Q16HDRI -lperl -lm \
/usr/bin/ld: /var/www/perl5/perlbrew/perls/perl-5.22.2/lib/5.22.2/x86_64-linux/CORE//libperl.a(op.o): relocation R_X86_64_32S against `PL_sv_yes' can not be used when making a shared object; recompile with -fPIC
/var/www/perl5/perlbrew/perls/perl-5.22.2/lib/5.22.2/x86_64-linux/CORE//libperl.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[4]: *** [../blib/arch/auto/Image/Magick/Q16HDRI/Q16HDRI.so] Error 1
make[4]: Leaving directory `/var/www/.cpanm/work/1474971478.10807/Alien-ImageMagick-0.07/_alien/ImageMagick-7.0.3-1/PerlMagick/quantum'
make[3]: *** [subdirs] Error 2
make[3]: Leaving directory `/var/www/.cpanm/work/1474971478.10807/Alien-ImageMagick-0.07/_alien/ImageMagick-7.0.3-1/PerlMagick'
make[2]: *** [install-exec-perl] Error 2
make[2]: Leaving directory `/var/www/.cpanm/work/1474971478.10807/Alien-ImageMagick-0.07/_alien/ImageMagick-7.0.3-1'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/www/.cpanm/work/1474971478.10807/Alien-ImageMagick-0.07/_alien/ImageMagick-7.0.3-1'
make: *** [install] Error 2
External command (LDFLAGS=-L/var/www/perl5/perlbrew/perls/perl-5.22.2/lib/5.22.2/x86_64-linux/CORE/ make install) failed! Error: 512
at ./Build line 58.
Failed
-> FAIL Installing Alien::ImageMagick failed. See /var/www/.cpanm/work/1474971478.10807/build.log for details. Retry with --force to force install it.
21 distributions installed
The text was updated successfully, but these errors were encountered:
Addition:
if i build perl with option -D useshrplib the build of Alien::ImageMagick succeeds.
So it seems that this build limitation is still necessary on Linux.
Addition:
if i build perl with option -D useshrplib the build of Alien::ImageMagick
succeeds.
So it seems that this build limitation is still necessary on Linux.
Hello,
when building on Debian Linux using Perl 5.22.2 installed via perlbrew without option
-Duseshrplib
i encountered the following error:The text was updated successfully, but these errors were encountered: