Re: Gentoo now links with every lib? On Sun, 12 Aug 2007 16:56:50 -0400, Arthur Hagen <art@broomstick.com> wrote:
>I just completed upgrading three systems to gnome 2.18, and all other stable
>upgrades. However, now it seems like linking pulls in every fsking lib on
>the system, whether needed or not? In particular, this becomes a big
>problem because one of the libs that gets pulled in libGL.so.1, doesn't
>exist as a PIC executable, and this means that prelink breaks, hardened
>breaks (plus the overhead of having to pull in bunches of libraries that
>aren't used at all).
>Do anyone know of a way to get the old functionality back, where only the
>libraries that are needed for a package gets linked, instead of linking
>against everything and its dog?
Useflags control which packages are dependencies. It is up to the individual
packages how they are linked. However, if their ./configure script don't call
for a particular feature, then that feature won't get linked.
Do an 'emerge -pv' on the package in question and make sure you don't have any
useflags calling in unwanted features. Sometimes you have to have a negative
use flag in your make.conf to get rid of something -- the default w/ no
use flag is a positive. |