[Fwd: linking issues with ldap]
Sending again, first attempt failed.
Signature · 3 lines
Guillaume Rousse Moyens Informatiques - INRIA Futurs Tel: 01 69 35 69 62
Hello list.
Latest release (5.0.3) attempt to link against libldap_r, and fails on mandriva because of unresolved pthread symbols. However, according to ldap maintainer, libldap_r is supposed to be a private library. Hence autofs should use -lldap, not -lldap_r. Attached patch fix this.
Signature · 3 lines
Guillaume Rousse Moyens Informatiques - INRIA Futurs Tel: 01 69 35 69 62
aclocal.m4 renamed from aclocal.m4.pthread +2 -2
@@ -250,7 +250,7 @@ AC_DEFUN([AF_CHECK_FUNC_LDAP_CREATE_PAGE # save current ldflags af_check_ldap_create_page_control_save_ldflags="$LDFLAGS" -LDFLAGS="$LDFLAGS -lldap_r" +LDFLAGS="$LDFLAGS -lldap" AC_TRY_LINK( [ #include <ldap.h> ],
@@ -283,7 +283,7 @@ AC_DEFUN([AF_CHECK_FUNC_LDAP_PARSE_PAGE_ # save current ldflags af_check_ldap_parse_page_control_save_ldflags="$LDFLAGS" -LDFLAGS="$LDFLAGS -lldap_r" +LDFLAGS="$LDFLAGS -lldap" AC_TRY_LINK( [ #include <ldap.h> ],
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs
Ian Kent
maintainerQuoted 14 lines · Guillaume Rousse
Sending again, first attempt failed.
email message attachment (linking issues with ldap.eml)Quoted 12 lines
-------- Forwarded Message --------
From: Guillaume Rousse <[email protected]>
To: [email protected]
Subject: linking issues with ldap
Date: Thu, 17 Jan 2008 16:48:42 +0100Hello list.
Latest release (5.0.3) attempt to link against
libldap_r, and fails on mandriva because of unresolved pthread symbols. However, according to ldap maintainer,libldap_ris supposed to be a private library. Hence autofs should use -lldap, not -lldap_r. Attached patch fix this.
Think you missed one.
Can you try this patch and let me know how it goes please.
http://www.kernel.org/pub/linux/daemons/autofs/v5/autofs-5.0.3-correct-ldap-lib.patch
Ian