# ls -l /lib64/libnss_ldap.so.2 lrwxrwxrwx 1 root root 26 Apr 4 23:17 /lib64/libnss_ldap.so.2 -> ../../lib/libnss_ldap.so.2 but /lib/libnss_ldap.so.2 doesn't exist. This causes ldap auth to not work. # equery f sys-auth/nss_ldap-265-r8 * Searching for nss_ldap265-r8 in sys-auth ... * Contents of sys-auth/nss_ldap-265-r8: /etc /etc/ldap.conf /etc/nsswitch.ldap /lib64 /lib64/libnss_ldap-2.33.so /lib64/libnss_ldap.so.2 -> ../../lib/libnss_ldap.so.2 /usr /usr/lib <snip> See attachment for full build log. Downgrading to -r5 fixes the problem. Reproducible: Always
Created attachment 697617 [details] emerge log
Created attachment 697626 [details] emerge --info -v
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd52dbeb4c26bcb6b5331def1eb65c1339f2036a commit fd52dbeb4c26bcb6b5331def1eb65c1339f2036a Author: David Seifert <soap@gentoo.org> AuthorDate: 2021-04-11 21:11:06 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-04-11 21:11:06 +0000 sys-auth/nss_ldap: Fix libdir symlinks Bug: https://bugs.gentoo.org/581306 Bug: https://bugs.gentoo.org/780108 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org> sys-auth/nss_ldap/files/nss_ldap-265-libdir.patch | 31 ++++++++++++++++++++++ ...s_ldap-265-r8.ebuild => nss_ldap-265-r9.ebuild} | 10 +++---- 2 files changed, 36 insertions(+), 5 deletions(-)
Let us know if not fixed?
I've installed -r9 on the previously affected machine and it seems fine, ldap auth works and the symlinks are correct. Fixed for me.