Description of problem: When rebuilding nss_ldap-253-5.el5 (as included with RHEL 5.1) on RHEL 5.1, with krb5-*-1.6.1-17.el5 packages installed, the build fails with: + /builddir/build/SOURCES/dlopen.sh ./nss_ldap-253/nss_ldap.so dlopen() of "././nss_ldap-253/nss_ldap.so" failed: ./././nss_ldap-253/nss_ldap.so: undefined symbol: request_key error: Bad exit status from /var/tmp/rpm-tmp.62652 (%build) When building with krb5-*-1.5-29 installed, the build runs fine.
Yup. It needs libkeyutils, libselinux, and libnsl added. Specifically, SHAREDLIBS needs to also mention these three. It'll be fixed as part of building any subsequent updates for the package.
But will the RHEL 5.1 version of nss_ldap (as distributed built with the old krb5, I presume) still work ok with Kerberos on RHEL 5.1?
It should -- the missing libraries are indirect dependencies used by the newer libkrb5, and aren't directly used by the nss_ldap module.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2008-0389.html
http://cvs.devel.redhat.com/cgi-bin/cvsweb.cgi/tests/nss_ldap/nss_ldap/bz427370/