Gentoo Archives: gentoo-user

From: Al <oss.elmar@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Shared libraries in Gentoo
Date: Tue, 07 Sep 2010 01:01:14
Message-Id: AANLkTi=bGjFBaCEy==3vkrg9f0pMCDVcYr=_cdmvCMe7@mail.gmail.com
In Reply to: [gentoo-user] Re: Shared libraries in Gentoo by Nikos Chantziaras
1 >> Now I was woundering, which way would Gentoo choose or if that is not
2 >> package specific at all. Are you sure dlopen() is used as a general
3 >> approach on Gentoo?
4 >
5 > Gentoo doesn't choose anything; it's up to the programs to decide how they
6 > want to load libraries at runtime.  It's like asking whether Gentoo chooses
7 > to use Qt or Gtk to run Firefox; well, since Firefox is a Gtk application
8 > and is making calls to Gtk functions, Gentoo doesn't have a say about it.
9 >
10
11 O.K. that is one importent point I needed to understand. So the choice
12 of the tool to handle dynamic linking is on the side of the programs
13 and can't be triggert uniformly from the ebuilds.
14
15 Hmm, ist the dlopen() call the same on all plattforms? I assume, else
16 you would need to adapt the sources.
17
18 How can I find that out? Sure grepping the sources.
19
20 Al