Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88420 - pam-0.77-r6 compile fail - while "emerging system"
Summary: pam-0.77-r6 compile fail - while "emerging system"
Status: RESOLVED DUPLICATE of bug 81031
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-08 19:16 UTC by Balazs Skerlecz
Modified: 2005-07-04 07:28 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 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 ***