[Slackbuilds-users] [Slackbuild-users] Segfault with nss_ldap

Chris chris at teria.org
Wed Dec 18 23:49:36 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

While compiling nss_ldap on a slackware64-14.1 VM, I encountered these warnings :


ldap-nss.c:580:3: warning: implicit declaration of function '__libc_lock_lock' [-Wimplicit-function-declaration]
   NSS_LDAP_LOCK (__lock);
   ^

I thought they were harmless but a simple "id" command for a ldap user ends in a segfault.

Gentoo for example had to patch nss_ldap : https://bugs.gentoo.org/show_bug.cgi?id=438692
Debian too : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727177

Here is the patch : https://438692.bugs.gentoo.org/attachment.cgi?id=326768

I patched, compiled nss_ldap again and tested : it solves the issue.

Regards,

- - --
Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iEYEARECAAYFAlKyNJAACgkQGXsBKIq5oxQN9gCfb+RDQfG9k8tl3XvhAp7YPwer
mbwAnih/Ct9mcc4IOLKvZMSE9xDAunMu
=LucB
-----END PGP SIGNATURE-----


More information about the SlackBuilds-users mailing list