1 Set the soname which glibc expects us to have.
2 --- nss_ldap-254/configure.in 2007-02-26 16:40:53.000000000 -0500
3 +++ nss_ldap-254/configure.in 2007-02-26 16:40:47.000000000 -0500
5 nss_ldap_so_LDFLAGS="-b -dynamic -G `cat exports.hpux`"
6 CPPFLAGS="$CPPFLAGS -I. -DHPUX"
8 -linux*) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic -Wl,--version-script,\$(srcdir)/exports.linux" ;;
9 +linux*) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic -Wl,--version-script,\$(srcdir)/exports.linux -Wl,-soname=libnss_ldap.so.2" ;;
10 *) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic" ;;