Skip Menu |
 

Date: Fri, 7 Mar 2008 10:27:51 -0800 (PST)
From: Brian Kantor <brian@karoshi.ucsd.edu>
To: krb5-bugs@mit.edu
Subject: Compiling krb5-1.6.3 on FreeBSD 7.0-RELEASE
CC: brian@ucsd.edu
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)
Subject: Compiling krb5-1.6.3 on FreeBSD
[brian@karoshi.ucsd.edu - Fri Mar 7 14:39:26 2008]:

Show quoted text
> As distributed, krb5-1.6.3 does not compile on FreeBSD 7.0-Release.

Ditto on 6.2: http://swik.net/FreeBSD/About

I'm doing a temporary patch for my own purposes, but this should
probably be fixed w/autoconf.
From: raeburn@mit.edu
Subject: SVN Commit

Use $(DL_LIB) instead of explicit -ldl.
Commit By: raeburn



Revision: 20325
Changed Files:
U trunk/src/plugins/preauth/pkinit/Makefile.in