[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Current Heimdal CVS doesn't compile
Andrew Bartlett <abartlet@samba.org> writes:
> I've been working to update Samba4 to current Heimdal CVS, but I can't
> make it compile. Using:
>
> CFLAGS="-g -O -Wall -Wstrict-prototypes -Wpointer-arith -Wcast-align
> -Wwrite-strings -Wdeclaration-after-statement" CC="ccache
> gcc" ./configure --with-ldap=/usr --disable-shared --without-openssl
>
> I get:
>
> ./.libs/libhcrypto.a(engine.o)(.text+0x292): In function `hc_ENGINE_by_dso':
> /data/heimdal-build/lib/des/engine.c:225: undefined reference to `dlopen'
[...]
> I know it's just a simple matter of adding -ldl to the right place, but where?
This should do it.
Love
2006-03-07 Love Hörnquist Åstrand <lha@it.su.se>
* Makefile.am: EVP interface depends on dlopen, add it to LIBFLAGS
--- Makefile.am 2006/02/28 14:19:00 1.39
+++ Makefile.am 2006/03/07 09:28:00 1.40
@@ -6,6 +6,7 @@ lib_LTLIBRARIES = libhcrypto.la
libhcrypto_la_LDFLAGS = -version-info 3:1:0
libhcrypto_la_LIBADD = \
$(top_builddir)/lib/asn1/libasn1.la \
+ $(LIB_dlopen) \
$(LIB_roken)
hcryptoincludedir = $(includedir)/hcrypto
PGP signature