On Thu, Jan 29, 2009 at 11:26 PM, Ralf Corsepius <rc040...@freenet.de> wrote: > Dan Nicholson wrote: >> >> On Wed, Jan 28, 2009 at 01:50:51PM -0600, Bob Friesenhahn wrote: >>> >>> On Wed, 28 Jan 2009, Dan Nicholson wrote: >>> >>>> When the ABI is 64-bit on Linux ELF, add /lib64 and /usr/lib64 to the >>>> system library path so that an RPATH is not added when using libraries >>>> from these directories. >>> >>> Are these libraries consistently available for 64-bit Linux? If not, >>> should they be explicitly tested for before depending on them? >>> >>> I got the impression that Linux systems which are completely 64-bit >>> (i.e. don't support executing 32-bit binaries) don't use /lib64 and >>> /usr/lib64. > > Well, actually, the search paths to system libs is hard coded into gcc. > It may vary between architectures, vendors and OSes.
I'm talking about the dynamic linker search path, which is determined by glibc. sys_lib_dlsearch_path_spec is how libtool decides whether to encode an RPATH for programs or not. I'm not exactly sure what it does for libraries. -- Dan _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool