[krbdev.mit.edu #5899] Compiling krb5-1.6.3 on FreeBSD 7.0-RELEASE
brian@karoshi.ucsd.edu via RT
rt-comment at krbdev.mit.edu
Fri Mar 7 14:39:29 EST 2008
As distributed, krb5-1.6.3 does not compile on FreeBSD 7.0-Release.
This is caused by a hardcoded -ldl in src/plugins/preauth/pkinit/Makefile.in
Removing this switch specification cures the problem. Diff follows.
- Brian
diff -ru distsrc/plugins/preauth/pkinit/Makefile.in src/plugins/preauth/pkinit/Makefile.in
--- distsrc/plugins/preauth/pkinit/Makefile.in 2007-09-28 18:02:10.000000000 -0700
+++ src/plugins/preauth/pkinit/Makefile.in 2008-03-07 09:47:30.000000000 -0800
@@ -21,7 +21,7 @@
$(TOPLIBD)/libk5crypto$(SHLIBEXT) \
$(TOPLIBD)/libkrb5$(SHLIBEXT)
LIBS+= -lcrypto
-SHLIB_EXPLIBS= -lkrb5 -lcom_err -lk5crypto -ldl $(SUPPORT_LIB) $(LIBS)
+SHLIB_EXPLIBS= -lkrb5 -lcom_err -lk5crypto $(SUPPORT_LIB) $(LIBS)
SHLIB_DIRS=-L$(TOPLIBD)
SHLIB_RDIRS=$(KRB5_LIBDIR)
More information about the krb5-bugs
mailing list