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.
http://forums.gentoo.org/viewtopic-t-311820-highlight-pam0+77r6.html i've found a topic about how can this be solved.
http://forums.gentoo.org/viewtopic-t-291162-highlight-pam0+77r6.html another one, hope either of them will help.
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"
*** This bug has been marked as a duplicate of 81031 ***