did u try adding -fPIC to the CLFAGS and recompiling cracklib and pam.

I think there's a thread about this problem on the forums page, and the solution was to revert to an older version of cracklib.



On 04/03/2005, at 3:00 AM, Nuitari wrote:

Hi,

I am updating a system and when compiling pam it fails with this error:


gcc -shared -L/var/tmp/portage/pam-0.78/work/Linux-PAM-0.78/lib -o pam_cracklib.so dynamic/pam_cracklib.o -lc -Wl,-Bstatic -Wl,-lcrack -Wl,-Bdynamic -lcrypt -lc -L../pammodutil -lpammodutil -L../../libpam -lpam
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux- gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib/ libcrack.a(fascist.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib/libcrack.a: could not read symbols: Bad value
collect2: ld returned 1 exit status


The installed cracklib is:
sys-libs/cracklib-2.8_pre1-r1

CFLAGS="-march=athlon64 -O2 -pipe"


-- gentoo-amd64@gentoo.org mailing list



--
gentoo-amd64@gentoo.org mailing list



Reply via email to