krb5 1.6.3 build "ldl" error on 7.0-BETA1/i386

John Marshall John.Marshall at
Sun Oct 28 17:10:12 PDT 2007

I don't understand what this is doing, so I can't provide any diagnosis. 

After hitting this error this morning, I updated the other out-of-date 
ports on this system, and then attempted krb5 again. Same error.

The previous revision of this port (krb5-1.6.2_1) built without any 
error on this system after the 7.0-BETA1 upgrade and has been running 
fine for over a week.

rwsrv05# uname -vm
FreeBSD 7.0-BETA1 #0: Sat Oct 20 10:13:47 AEST 2007 
root at  i386

rwsrv05# pkg_version -Iv | grep -v '='
krb5-1.6.2_1   <   needs updating (index has 1.6.3_1)

rwsrv05# portmaster -D krb5-1.6.2_1
rm -f
building dynamic pkinit object
set -x; objlist=`set -x && perl -p -e 'BEGIN { $SIG{__WARN__} = sub {die 
@_} };
$e=$ARGV; $e =~ s/OBJS\...$//; s/^/ /; s/ $//; s/ / $e/g;' OBJS.SH` && 
libtool -
-mode=link cc -shared -o $objlist -R/usr/local/lib 
-L../../../lib -lkrb5 -lcom_err -lk5crypto -ldl -lkrb5support -lcrypto 
+ set -x
+ perl -p -e BEGIN { $SIG{__WARN__} = sub {die @_} }; $e=$ARGV; $e =~ 
$//; s/^/ /; s/ $//; s/ / $e/g; OBJS.SH
+ objlist=
+ libtool --mode=link cc -shared -o 
-R/usr/local/lib -L../../../lib -lkrb5 -lcom_err -lk5crypto -ldl 
-lkrb5support -lcrypto -lcrypto
mkdir .libs
cc -shared -o 
-L/usr/ports/security/krb5/work/krb5-1.6.3/src/lib -lkrb5 -lcom_err 
-lk5crypto -ldl -lkrb5support -lcrypto   -Wl,--rpath -Wl,/usr/local/lib
/usr/bin/ld: cannot find -ldl
gmake[1]: *** [] Error 1
gmake[1]: Leaving directory 
gmake: *** [all-recurse] Error 1
*** Error code 2

Stop in /usr/ports/security/krb5.

===>>> make failed for security/krb5
===>>> Aborting update

Thank you for maintaining this port. I use it for Samba in a Windows 
2003 Active Directory environment.

John Marshall

More information about the freebsd-ports mailing list