Date: Fri, 4 Jun 2010 09:20:48 +0000 From: "b. f." <bf1783@googlemail.com> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: freebsd-ports@FreeBSD.org Subject: Re: devel/gettext further update Message-ID: <AANLkTimTZuJ8hw9UIBloDCVSiHt680nofsbQiTSs2lD8@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimTZuJ8hw9UIBloDCVSiHt680nofsbQiTSs2lD8>