Re: Why does solib_open do what it does?

Michael Snyder
2003-06-18T20:11:41Z

Daniel Jacobowitz wrote:
> On Wed, Jun 18, 2003 at 11:41:02AM -0700, Michael Snyder wrote:
>
>>You don't think that gdb should honor LD_LIBRARY_PATH in native
>>debugging, if it is set? Won't the linker-loader honor it?
>>
>>I'd be ready to agree that, if solib-search-path is set,
>>it should override LD_LIBRARY_PATH. But if it isn't set...
>
>
> As far as I'm concerned, the linker should always set the absolute
> pathname, and we shouldn't be doing any of this junk.

Well, but that is not in fact the case. For sure not on linux,
and I don't think it is on solaris either.