Dan Nicholson wrote these words on 03/13/09 17:33 CST: > On Fri, Mar 13, 2009 at 2:24 PM, Angel Tsankov <[email protected]> > wrote: >> Hello, >> >> 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 directories). Just wanted to be thorough here, as Dan failed to mention /lib. -- Randy 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 2.6.14.3 i686] 18:28:01 up 14 days, 3:31, 1 user, load average: 0.83, 0.57, 0.24 -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
