Shared libraries in Gentoo
On 09/06/2010 09:28 PM, Al wrote:
I looked into many ebuilds, but didn't come to a final conclusion yet.
I am rather confused.
How does a program in Gentoo know, where to look for shared libraries?
The program doesn't know. But the runtime linker does. And those paths
are in /etc/ld.so.conf. This file gets updated automatically by portage
But... sometimes the program also knows and can link against libraries
long after it has started up using a dlopen() call: