[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ld, bad logic of dynamic linker search? (fwd)
From: |
Daniel Jacobowitz |
Subject: |
Re: ld, bad logic of dynamic linker search? (fwd) |
Date: |
Thu, 13 Mar 2003 18:15:52 -0500 |
User-agent: |
Mutt/1.5.1i |
On Thu, Mar 13, 2003 at 06:07:53PM -0500, Paul Jarc wrote:
> Ivan Popov <address@hidden> wrote:
> >> You mean you want ld to automatically search for libraries, etc., in
> >> the same directory as the dynamic linker? Where would you place that
> >
> > Hmm? I am not talking about library searches here. I want ld to look for
> > the *dynamic linker* where I tell it to.
>
> ld has no problem finding the dynamic linker. But there is also a
> reference to ld-linux.so.2 (in libc.so.6, I think, or perhaps in
> ld-linux.so.2 itself) which causes ld-linux.so.2 to be looked for in
> the run-time library search path. This is glibc's doing, not ld's.
>
> If you show us the commands you are running and the error messages you
> get, maybe we can help.
Ivan, by the way, it sounds like your problem is the same as the issue
addressed by "-rpath-link". Give it a try. It's not an accident that
glibc uses this when building against an uninstalled glibc.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer