[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add 64 bit directories to sys_lib_dlsearch_path_spec for Lin
From: |
Dan Nicholson |
Subject: |
Re: [PATCH] Add 64 bit directories to sys_lib_dlsearch_path_spec for Linux ELF |
Date: |
Fri, 30 Jan 2009 06:24:10 -0800 |
On Thu, Jan 29, 2009 at 11:26 PM, Ralf Corsepius <address@hidden> 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