Date: Mon, 29 Oct 2007 13:43:43 -0700 From: Cy Schubert <Cy.Schubert@komquats.com> To: Cy Schubert <Cy.Schubert@komquats.com> Cc: John Marshall <John.Marshall@riverwillow.com.au>, "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: <200710292043.l9TKhhEK052318@cwsys.cwsent.com> In-Reply-To: Message from Cy Schubert <Cy.Schubert@komquats.com> "of Mon, 29 Oct 2007 10:09:33 PDT." <200710291709.l9TH9XjO067061@cwsys.cwsent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <200710291709.l9TH9XjO067061@cwsys.cwsent.com>, Cy Schubert writes: > 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'll check it out on my testbed system, which is currently booted to > 6.2-STABLE on another problem. Looks like under 6.2 a number of directories are skipped and are assumed to be missing by the build process. This is why it fails under 7.0. I will need to address the 6.2 issue first then address the libdl problem, which will become a problem under 6.2 once I fix the "missing directories" problem. -- 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?200710292043.l9TKhhEK052318>