krb5 1.6.3 build "ldl" error on 7.0-BETA1/i386
Cy Schubert
Cy.Schubert at komquats.com
Mon Oct 29 20:27:38 PDT 2007
In message <47259A8D.7070305 at riverwillow.com.au>, John Marshall writes:
> John Marshall wrote:
> > I don't understand what this is doing, so I can't provide any diagnosis.
> > Sorry.
> >
> > 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 rwsrv05.mby.riverwillow.net.au:/spare/obj/usr/src/sys/RWSRV05 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 pkinit.so
> > 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 pkinit.so $objlist -R/usr/local/lib
> > -L../../../lib -lkrb5 -lcom_err -lk5crypto -ldl -lkrb5support -lcrypto
> > -lcrypto
> > + set -x
> > + perl -p -e BEGIN { $SIG{__WARN__} = sub {die @_} }; $e=$ARGV; $e =~
> > s/OBJS\...
> > $//; s/^/ /; s/ $//; s/ / $e/g; OBJS.SH
> > + objlist= pkinit_accessor.so pkinit_srv.so pkinit_lib.so pkinit_clnt.so
> > pkinit_profile.so pkinit_identity.so pkinit_matching.so
> > pkinit_crypto_openssl.so
> > + libtool --mode=link cc -shared -o pkinit.so pkinit_accessor.so
> > pkinit_srv.so pkinit_lib.so pkinit_clnt.so pkinit_profile.so
> > pkinit_identity.so pkinit_matching.so pkinit_crypto_openssl.so
> > -R/usr/local/lib -L../../../lib -lkrb5 -lcom_err -lk5crypto -ldl
> > -lkrb5support -lcrypto -lcrypto
> > mkdir .libs
> > cc -shared -o pkinit.so pkinit_accessor.so pkinit_srv.so pkinit_lib.so
> > pkinit_clnt.so pkinit_profile.so pkinit_identity.so pkinit_matching.so
> > pkinit_crypto_openssl.so
> > -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]: *** [pkinit.so] Error 1
> > gmake[1]: Leaving directory
> > `/usr/ports/security/krb5/work/krb5-1.6.3/src/plugin
> > s/preauth/pkinit'
> > 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.
> >
>
> I just updated krb5 to 1.6.3 on two 6.2-RELEASE/i386 systems without any
> error.
>
> I don't have a second 7.0-BETA1 system to use for comparison.
>
> This is not ports-mgmt tools related because I see the error even with a
> manual "make" in the security/krb5 directory.
I've fixed the build though there may be issues with systems with older
versions of OpenSSL in base.
--
Cheers,
Cy Schubert <Cy.Schubert at komquats.com>
FreeBSD UNIX: <cy at FreeBSD.org> Web: http://www.FreeBSD.org
e**(i*pi)+1=0
More information about the freebsd-ports
mailing list