Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2007 20:26:25 -0700
From:      Cy Schubert <Cy.Schubert@komquats.com>
To:        John Marshall <John.Marshall@riverwillow.com.au>
Cc:        "freebsd-ports@freebsd.org" <freebsd-ports@FreeBSD.Org>, "cy@freebsd.org" <cy@FreeBSD.Org>
Subject:   Re: krb5 1.6.3 build "ldl" error on 7.0-BETA1/i386
Message-ID:  <200710300326.l9U3QPAv001868@cwsys.cwsent.com>
In-Reply-To: Message from John Marshall <John.Marshall@riverwillow.com.au> "of Mon, 29 Oct 2007 19:32:13 %2B1100." <47259A8D.7070305@riverwillow.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <47259A8D.7070305@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@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@komquats.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

			e**(i*pi)+1=0







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710300326.l9U3QPAv001868>