>From e2af24c56a4a3bef3d967e7a462243386a6a4f42 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Fri, 30 May 2014 14:21:01 +0200 Subject: [PATCH] MAKE: Link libsss_ldap.so with ldap libraries Tests ad_common_tests, test_search_bases, ad_access_filter_tests could not be linked on ubuntu and dlopen test faild as well. Running suite(s): dlopen 0%: Checks: 1, Failures: 1, Errors: 0 src/tests/dlopen-tests.c:143:F:dlopen:test_dlopen_base:0: Error opening libsss_ldap.so: [dlopen() failed: sssd-1.11.90/.libs/libsss_ldap_common.so: undefined symbol: ber_pvt_opt_on] --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 652cf67236b3b7020cc4afcbf46fa3456fcbfefd..50e3968cb91f03102051ad12cc37e84c66d6c719 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2004,6 +2004,7 @@ libsss_ldap_common_la_SOURCES = \ libsss_ldap_common_la_CFLAGS = \ $(KRB5_CFLAGS) libsss_ldap_common_la_LIBADD = \ + $(OPENLDAP_LIBS) \ $(KRB5_LIBS) \ libsss_krb5_common.la \ libsss_idmap.la -- 1.9.3