Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Shared libraries in Gentoo
Date: Mon, 06 Sep 2010 20:30:56
Message-Id: i63j07$t6h$1@dough.gmane.org
In Reply to: [gentoo-user] Shared libraries in Gentoo by Al
1 On 09/06/2010 09:28 PM, Al wrote:
2 > Hello,
3 >
4 > I looked into many ebuilds, but didn't come to a final conclusion yet.
5 > I am rather confused.
6 >
7 > How does a program in Gentoo know, where to look for shared libraries?
8
9 The program doesn't know. But the runtime linker does. And those paths
10 are in /etc/ld.so.conf. This file gets updated automatically by portage
11 when needed.
12
13 But... sometimes the program also knows and can link against libraries
14 long after it has started up using a dlopen() call:
15
16 http://linux.die.net/man/3/dlopen

Replies

Subject Author
Re: [gentoo-user] Re: Shared libraries in Gentoo Al <oss.elmar@××××××××××.com>