This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld and GNU/Linux ld.so disagree on dependent library search order (?)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]