This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ld and GNU/Linux ld.so disagree on dependent library search order (?)
- From: Ian Lance Taylor <ian at airs dot com>
- To: Jeremy Brown <jhbrown at itasoftware dot com>
- Cc: binutils at sourceware dot org
- Date: 03 Feb 2006 22:11:28 -0800
- Subject: Re: ld and GNU/Linux ld.so disagree on dependent library search order (?)
- References: <ki6zml842td.fsf@ita4dt821-5.internal.itasoftware.com>
Jeremy Brown <jhbrown@itasoftware.com> writes:
> The thing that got us is that when ld is looking up dependent
> libraries, it will search a variety of locations, with the final two
> sets being first, the system directories /lib and /usr/lib; and second
> and finally, in directories listed in /etc/ld.so.conf [1]
ld and ld.so should use the same search path for shared libraries.
Anything else is a bug. It sounds like you have found a bug, or else
the ld.so behaviour has changed.
Ian