Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Tue, Jul 06, 2010 at 10:20:28AM +0200, Matthias Andree wrote:
> Greetings,
> 
> it appears that some change to -RECENT (relative to 8-STABLE) breaks  
> linking several GSSAPI applications from ports, for instance,  
> mail/fetchmail if GSSAPI is enabled.
> 
> These applications then compile OK, but fail to link with MD2_Init and  
> other MD2 symbols not defined, although the command line (obtained from  
> krb5-config gssapi --libs) appears to list -lhx509 and -lcrypto in the  
> right order (hx509 first). This is, according to the report, happening on  
> -CURRENT, but does NOT happen on 8-STABLE or release candidates to 8.1.
> 
> Andrew Reilly posted a patch to the base system Kerberos to bin/147175 to  
> add a dependency from the shared hx509 library on libcrypto, however there  
> are open questions neither he nor I can answer -- particularly if it's  
> fixing the right problem, or if instead the run-time linker needed to be  
> fixed.
> 
> Please help: read PR bin/147175 and comment if you're knowledgeable about  
> 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).

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAkwy70oACgkQC3+MBN1Mb4hEsACgv9DcMAHTfz6gN6J6L2gytf+g
c3IAnjlmlBeNDZ6KOu5wNiRcHyhYqZLg
=LS44
-----END PGP SIGNATURE-----
help

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