Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108087 - net-libs/courier-authlib-0.57-r1 fails to compile with an "-fPIC needed" error
Summary: net-libs/courier-authlib-0.57-r1 fails to compile with an "-fPIC needed" error
Status: RESOLVED DUPLICATE of bug 105711
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-04 09:19 UTC by J. Ryan Earl
Modified: 2005-10-04 09:21 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 J. Ryan Earl 2005-10-04 09:19:19 UTC
I cannot emerge courier-authlib, compilation dies.

Reproducible: Always
Steps to Reproduce:
emerge courier-authlib
Actual Results:  
Linking libcourierauthsaslclient.la
Compiling authpwdenumerate.c
Compiling authsyschangepwd.c
Compiling authsyscommon.c
Compiling cramlib.c
Compiling checkpassword.c
Compiling cryptpassword.c
Compiling checkpasswordmd5.c
Compiling checkpasswordsha1.c
Linking libcourierauthcommon.la
Compiling authuserdb.c
Compiling preauthuserdb.c
Compiling preauthuserdbcommon.c
Compiling authuserdbpwd.c
Linking libauthuserdb.la
Compiling authpam.c
Compiling preauthpam.c
Linking libauthpam.la
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib/libshadow.a(commonio.o): relocation R_X86_64_32 against `a local
symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libshadow.a(commonio.o): could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libauthpam.la] Error 1
make[2]: Leaving directory
`/var/tmp/portage/courier-authlib-0.57-r1/work/courier-authlib-0.57'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/courier-authlib-0.57-r1/work/courier-authlib-0.57'
make: *** [all] Error 2

!!! ERROR: net-libs/courier-authlib-0.57-r1 failed.
!!! Function src_compile, Line 101, Exitcode 2
!!! Compile problem
!!! If you need support, post the topmost build error, NOT this status message.



palace ~ # emerge info
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.11-gentoo-r11 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r11 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.6.13
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control /var/run/dspam
/var/spool/dspam"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acl acpi alsa apache2 authdaemond avi bitmap-fonts crypt cups curl
dedicated doc eds emboss encode esd fam flash foomaticdb gd gdbm geoip gif gmp
gnome gpm gstreamer gtk gtk2 imagemagick imap imlib innodb ipv6 java jikes jpeg
ldap libwww lm_sensors lzw lzw-tiff maildir mailwrapper mp3 mpeg mysql
nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neural nls nptl nptlonly
opengl pam pdflib perl pic pie png python qt quicktime quotas readline rrdtool
samba sasl sdl snmp speex spell ssl tcltk tcpd threads tiff truetype-fonts
type1-fonts usb userlocales vda vhosts virtual-users wxwindows xml xml2 xpm xv
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-10-04 09:21:57 UTC

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