Re: [patch] Fixed occasional failure to load a custom shared library

Daniel Jacobowitz
2006-10-09T20:17:54Z

On Fri, Jul 21, 2006 at 08:38:29PM +0200, Jan Kratochvil wrote:
> Hi Kevin,
>
> I am now copyright assignment compliant (as Red Hat employee).
>
> Could you please commit the updated patch? Its ChangeLog entry:
>
> 2006-07-21 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * solib.c (solib_open): Fixed NULL vs. "" refusal to load inferior
> shared libraries.

I have committed this for you, after fixing separately the inferior
segfault.

I tried to reproduce the actual problem you were having, but I
couldn't. No matter what I put in LD_LIBRARY_PATH or rpath, glibc
filled in the full path to the shared library. Maybe I have a
newer runtime loader than you do, or something similar. Anyway,
that's unimportant.

--
Daniel Jacobowitz
CodeSourcery