devel/gettext further update

b. f. bf1783 at googlemail.com
Fri Jun 4 09:20:50 UTC 2010


Alexander Leidinger wrote:
>Quoting Doug Barton <dougb at FreeBSD.org> (from Thu, 03 Jun 2010
11:29:01 -0700):
>
>> On 06/03/10 05:39, Matthias Andree wrote:
>>> Am 03.06.2010 13:30, schrieb Andrey Chernov:
>>>
>>>> security/libksba
>>>> security/libgcrypt
>>>> (they use libgpg-error)
>>
>> So libgpg-error needs to be bumped, but why do things that don't
>> like directly with gettext need it? One of the major benefits of
>> shared libraries is to avoid pointless recompiling.
>
>The reason (for those interested) is explained here:
http://www.leidinger.net/blog/2010/06/03/direct-indirect-and-explicit-dependencies-in-progamsports/

Just for the record, the useful
ports/Tools/scripts/explicit_lib_depends.sh, described and used in
your link above, may _not_ find libraries that:

-- are needed, but were intended to be statically linked;

-- are needed, but loaded via dlopen(3) and friends (this is noted in
a comment in ports/Tools/scripts/neededlibs.sh );

-- are needed, and dynamically linked in the usual way, but are not
referenced in any ELF DT_NEEDED tags.  These tags are optional, not
mandatory, in the System V ABI, and they can be missing for a number
of reasons.  They may not be present in a pre-compiled binary.  Or,
for example. because some ports make shared libraries by converting
static archives into shared libraries with the linker, the tags can
sometimes be missing for those libraries.  Also, some ports use a
version of gcc4* wired to devel/binutils, but then directly invoke
some portion of the older base system binutils.  I've seen this lead
to missing tags in the past.

b.


More information about the freebsd-ports mailing list