Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119066 - courier-authlib 0.57-r2 compilation or linking fails
Summary: courier-authlib 0.57-r2 compilation or linking fails
Status: RESOLVED DUPLICATE of bug 105711
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-15 03:12 UTC by ambrox10
Modified: 2006-01-15 03:15 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 ambrox10 2006-01-15 03:12:22 UTC
Compilation of courier-authlib-0.57-r2 fails when linking libpamauth.la
The error is:

Linking libauthpam.la
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/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/lib64/libshadow.a(commonio.o): could not read symbols: Bad value
collect2: ld returned 1 exit status

I was doing the postfix+courier howto.
This problem also occures on my pc, which is also amd64, but not on my laptop, which is i686.

Reproduction:
-emerge courier-authlib 0.57-r2 on amd64 system

Expected:
-should compile

Versions that did not compile: 0.57-r2, 0.57-r1
Versions that compiled successfully: 0.55

emerge --info:
Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r5 x86_64 AMD Sempron(tm) Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.11
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.16.1
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 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://62.197.40.130/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts bzip2 cdr crypt cups dvd eds emboss encode expat fam foomaticdb fortran gd gif gpm gstreamer gtk gtk2 idn imap imlib ipv6 java jpeg kde lcms libwww lzw lzw-tiff maildir mhash mng mp3 mpeg mysql ncurses nls opengl pam pcre pdflib perl php png python qt quicktime readline sasl sdl spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb userlocales xml2 xpm xv zlib video_cards_via userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-15 03:15:35 UTC

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