On Friday 2012-05-11 20:31, Stephen Gallagher wrote:
> sssd_be_LDADD = \
> - $(SSSD_LIBS) \
> + -ldl $(SSSD_LIBS) \
> $(CARES_LIBS) \
> libsss_util.la
> sssd_be_LDFLAGS = \
While there's nothing wrong with this patch, you SHOULD be picking up
the -ldl requirement from pkg-config for nss crypto.
Even if I were building against nss (I do need to change from
crypto to nss indeed), it would not resolve, since there is no -ldl
in nss.pc:
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib64
includedir=${prefix}/include/nss3
Name: NSS
Description: Network Security Services
Version: 3.13.3
Requires: nspr >= 4.9.0
Libs: -lssl3 -lsmime3 -lnss3 -lnssutil3
Cflags: -I${includedir}
-ldl can only come from the libldb m4 pieces, if enabled:
./src/external/libldb.m4: [AC_CHECK_LIB(ldb, ldb_init, [LDB_LIBS="-lldb"], ,
-ltevent -ltdb -ldl -lldap) ],