Directory listing order in /etc/ld.so.conf
lfs.user at mcmurchy.com
Fri Mar 13 16:28:46 PDT 2009
Dan Nicholson wrote these words on 03/13/09 17:33 CST:
> On Fri, Mar 13, 2009 at 2:24 PM, Angel Tsankov <fn42551 at fmi.uni-sofia.bg> wrote:
>> Does the order of directories in /etc/ld.so.conf matter?
> Yes. Libraries will match from the first directory they're found from
> /etc/ld.so.conf then /usr/lib and /usr/lib64 (on 64 bit systems).
Actually (and it's rare to have to 'correct' Dan), but the libs are looked
for in the directories named in /etc/ld.so.conf and then the "trusted
directories", which are /lib and then /usr/lib (or the corresponding 64-bit
Just wanted to be thorough here, as Dan failed to mention /lib.
rmlscsi: [bogomips 1003.24] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 22.214.171.124 i686]
18:28:01 up 14 days, 3:31, 1 user, load average: 0.83, 0.57, 0.24
More information about the lfs-support