Re: [PATCH] Add 64 bit directories to sys_lib_dlsearch_path_spec for Linux ELF

2009-01-30 Thread Ralf Corsepius
Dan Nicholson wrote: On Thu, Jan 29, 2009 at 11:26 PM, Ralf Corsepius 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 p

Re: [PATCH] Add 64 bit directories to sys_lib_dlsearch_path_spec for Linux ELF

2009-01-30 Thread Dan Nicholson
On Thu, Jan 29, 2009 at 11:26 PM, Ralf Corsepius 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

Re: [PATCH] Add 64 bit directories to sys_lib_dlsearch_path_spec for Linux ELF

2009-01-29 Thread Ralf Corsepius
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. A

Re: [PATCH] Add 64 bit directories to sys_lib_dlsearch_path_spec for Linux ELF

2009-01-29 Thread Dan Nicholson
don't use /lib64 and > /usr/lib64. Here's a respin of the patch that adds the directories only when they exist. I think this a pretty safe default for 64 bit systems. -- Dan Subject: [PATCH] Add 64 bit directories to sys_lib_dlsearch_path_spec for Linux ELF When the ABI is 64-bit o

Re: [PATCH] Add 64 bit directories to sys_lib_dlsearch_path_spec for Linux ELF

2009-01-28 Thread Richard Purdie
On Wed, 2009-01-28 at 12:01 -0800, Dan Nicholson wrote: > If they follow the LSB, then they should be using lib64. However, you > can configure the linker any number of ways. I tried to get a patch to > glibc so this path could be determined, but it was rejected. > > http://sourceware.org/ml/libc

Re: [PATCH] Add 64 bit directories to sys_lib_dlsearch_path_spec for Linux ELF

2009-01-28 Thread Dan Nicholson
On Wed, Jan 28, 2009 at 11:50 AM, 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 librari

Re: [PATCH] Add 64 bit directories to sys_lib_dlsearch_path_spec for Linux ELF

2009-01-28 Thread Bob Friesenhahn
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 e

[PATCH] Add 64 bit directories to sys_lib_dlsearch_path_spec for Linux ELF

2009-01-28 Thread Dan Nicholson
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. Signed-off-by: Dan Nicholson --- libltdl/m4/libtool.m4 | 16 +++- 1 files changed, 15 insertions(+), 1 deletions(-)