Date: Tue, 6 Jul 2010 11:54:35 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Matthias Andree <matthias.andree@gmx.de> Cc: freebsd-current@freebsd.org, Andrew Reilly <areilly@bigpond.net.au> Subject: Re: Regression in GSSAPI/libxh509 linking? [PR bin/147175] Message-ID: <20100706085435.GC13238@deviant.kiev.zoral.com.ua> In-Reply-To: <op.vfexgepa1e62zd@merlin.emma.line.org> References: <op.vfexgepa1e62zd@merlin.emma.line.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--y4wY251JZuCi4Byb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 06, 2010 at 10:20:28AM +0200, Matthias Andree wrote: > Greetings, >=20 > it appears that some change to -RECENT (relative to 8-STABLE) breaks =20 > linking several GSSAPI applications from ports, for instance, =20 > mail/fetchmail if GSSAPI is enabled. >=20 > These applications then compile OK, but fail to link with MD2_Init and = =20 > other MD2 symbols not defined, although the command line (obtained from = =20 > krb5-config gssapi --libs) appears to list -lhx509 and -lcrypto in the = =20 > right order (hx509 first). This is, according to the report, happening on= =20 > -CURRENT, but does NOT happen on 8-STABLE or release candidates to 8.1. >=20 > Andrew Reilly posted a patch to the base system Kerberos to bin/147175 to= =20 > add a dependency from the shared hx509 library on libcrypto, however ther= e =20 > are open questions neither he nor I can answer -- particularly if it's = =20 > fixing the right problem, or if instead the run-time linker needed to be = =20 > fixed. >=20 > Please help: read PR bin/147175 and comment if you're knowledgeable about= =20 > either run-time linking, KRB5/GSSAPI, or both :) You need to gather and show exact command that fails. Shared object that references a symbol but does not record a dependency on the object providing the symbol is the bug in the build of that object (usually). --y4wY251JZuCi4Byb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkwy70oACgkQC3+MBN1Mb4hEsACgv9DcMAHTfz6gN6J6L2gytf+g c3IAnjlmlBeNDZ6KOu5wNiRcHyhYqZLg =LS44 -----END PGP SIGNATURE----- --y4wY251JZuCi4Byb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100706085435.GC13238>