Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 88420

Summary: pam-0.77-r6 compile fail - while "emerging system"
Product: Gentoo Linux Reporter: Balazs Skerlecz <bskerlecz>
Component: [OLD] Core systemAssignee: PAM Gentoo Team (OBSOLETE) <pam-bugs+disabled>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: 2005.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Balazs Skerlecz 2005-04-08 19:16:03 UTC
ERROR: sys-libs/pam-0.77-r6 failed.
Function src_compile, Line 209, Exitcode 2

i386-pc-linux-gnu/bin/ld: cannot find -lpam
collect2: ld returned 1 exit status
make[1]: *** [libpam_misc.so] Error 1
make[1]: Leaving directory `/var/tmp/portage/pam-0.77-r6/work/Linux-PAM-0.77/libpam_misc'
make: *** [libpam_misc] Error 2

It seems to me that compile of linked pam (error above) library (-lpam) finished later.
Comment 1 Balazs Skerlecz 2005-04-08 22:13:20 UTC
http://forums.gentoo.org/viewtopic-t-311820-highlight-pam0+77r6.html

i've found a topic about how can this be solved.
Comment 2 Balazs Skerlecz 2005-04-08 22:20:05 UTC
http://forums.gentoo.org/viewtopic-t-291162-highlight-pam0+77r6.html

another one, hope either of them will help.
Comment 3 Balazs Skerlecz 2005-04-08 23:33:46 UTC
Status:

i've recompiled w 
FEATURES="-sandbox" ebuild pam-0.77-r6.ebuild install 

installation completed, but it says::

----------------------------------
QA Notice: /sbin/pwdb_chkpwd is setXid, dynamically linked and using lazy bindings.
This combination is generally discouraged. Try: CFLAGS='-Wl,-z,now' emerge pam
QA Notice: /sbin/pam_timestamp_check is setXid, dynamically linked and using lazy bindings.
This combination is generally discouraged. Try: CFLAGS='-Wl,-z,now' emerge pam
QA Notice: /sbin/unix_chkpwd is setXid, dynamically linked and using lazy bindings.
This combination is generally discouraged. Try: CFLAGS='-Wl,-z,now' emerge pam


---
my make.conf contains:

CFLAGS="-O2 -mcpu=pentium -march=pentium -pipe -fomit-frame-pointer"
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-04 07:28:28 UTC

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