Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114538 - net-nds/openldap 2.2.28-r2 recompile DynaLoader.a with -fPIC
Summary: net-nds/openldap 2.2.28-r2 recompile DynaLoader.a with -fPIC
Status: RESOLVED DUPLICATE of bug 114371
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-05 08:05 UTC by Hans-Christian Armingeon
Modified: 2005-12-05 08:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Christian Armingeon 2005-12-05 08:05:48 UTC
/bin/sh ../../..//libtool  --mode=link cc -O2 -march=k8 -pipe 
-fomit-frame-pointer  -L/usr/lib64  -release 2.2 -version-info 7:21:0 
-rpath /usr/lib64/openldap/openldap -module -o back_perl.la init.lo search.lo 
close.lo config.lo bind.lo compare.lo modify.lo add.lo modrdn.lo delete.lo 
version.lo 
-rdynamic  /usr/lib/perl5/5.8.7/x86_64-linux/auto/DynaLoader/DynaLoader.a 
-L/usr/lib/perl5/5.8.7/x86_64-linux/CORE -lperl -lpthread -lnsl -ldl -lm 
-lcrypt 
-lutil ../../../libraries/libldap_r/libldap_r.la ../../../libraries/liblber/liblber.la 
`perl -MExtUtils::Embed -e ldopts` 
 
*** Warning: Linking the shared library back_perl.la against the 
*** static 
library /usr/lib/perl5/5.8.7/x86_64-linux/auto/DynaLoader/DynaLoader.a is not 
portable! 
cc 
-shared  .libs/init.o .libs/search.o .libs/close.o .libs/config.o .libs/bind.o .libs/compare.o .libs/modify.o .libs/add.o .libs/modrdn.o .libs/delete.o .libs/version.o  
-Wl,--rpath 
-Wl,/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/libraries/libldap_r/.libs 
-Wl,--rpath 
-Wl,/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/libraries/liblber/.libs 
-L/usr/lib64 
-L/usr/lib/perl5/5.8.7/x86_64-linux/CORE ../../../libraries/libldap_r/.libs/libldap_r.so 
-L/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/libraries/liblber/.libs ../../../libraries/liblber/.libs/liblber.so /usr/lib/perl5/5.8.7/x86_64-linux/auto/DynaLoader/DynaLoader.a 
-lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc  -march=k8 -Wl,-soname 
-Wl,back_perl-2.2.so.7 -o .libs/back_perl-2.2.so.7.0.21 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/perl5/5.8.7/x86_64-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o): 
relocation R_X86_64_32 against `a local symbol' can not be used when making a 
shared object; recompile with -fPIC 
/usr/lib/perl5/5.8.7/x86_64-linux/auto/DynaLoader/DynaLoader.a: could not read 
symbols: Bad value 
collect2: ld returned 1 exit status 
make[3]: *** [back_perl.la] Error 1 
make[3]: Leaving directory 
`/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/servers/slapd/back-perl' 
make[2]: *** [back-perl] Error 2 
make[2]: Leaving directory 
`/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/servers/slapd' 
make[1]: *** [all-common] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/servers' 
make: *** [all-common] Error 1 
 
!!! ERROR: net-nds/openldap-2.2.28-r2 failed. 
!!! Function src_compile, Line 250, Exitcode 2 
!!! make failed 
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-05 08:08:07 UTC

*** This bug has been marked as a duplicate of 114371 ***