Red Hat Bugzilla – Bug 163502
pam not self-hosting, links to already installed(older) libpam.so
Last modified: 2007-11-30 17:11:10 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.8) Gecko/20050623 Fedora/1.0.4-5 Firefox/1.0.4
Description of problem:
pam isn't self-hosting as it needs pam-devel to rebuild.
Otherwise a rebuild fails with
+ for module in '$RPM_BUILD_ROOT/lib/security/pam*.so'
+ /usr/src/redhat/SOURCES/dlopen.sh -lpam -ldl -L/var/tmp/pam-root/lib /var/tmp/pam-root/lib/security/pam_access.so
/usr/bin/ld: cannot find -lpam
collect2: ld returned 1 exit status
/usr/src/redhat/SOURCES/dlopen.sh: line 63: /tmp/dlopeny29384/dlopen: No such file or directory
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpm -e pam-devel
2. rpmbuild --rebuild pam-0.80-1.src.rpm
3. check output
Actual Results: pam builds a dlopen wrapper to check if the modules can be loaded. This wrapper should be linked with /var/tmp/pam-root/lib/libpam.so instead of /lib/libpam.so.
This is the obvious error, still need to check if the dlopen-wrapper is the only pam binary which links with older libpam outside of /var/tmp/pam-root/.
I've forgot to close the bug.