bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ld, bad logic of dynamic linker search? (fwd)


From: Paul Jarc
Subject: Re: ld, bad logic of dynamic linker search? (fwd)
Date: Thu, 13 Mar 2003 19:11:04 -0500
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 (gnu/linux)

Ivan Popov <address@hidden> wrote:
> On Thu, 13 Mar 2003, Paul Jarc wrote:
>> ld has no problem finding the dynamic linker.  But there is also a
>
> ld finds the wrong one (/lib/ld-linux.so.2)
> while I need it to find it under /somewhere/
> as either ld-N.N.N.so or ld-linux.so.2

Until I see the commands you are running and the error messages you
get, I maintain that ld correctly uses the dynamic linker you specify,
and it is only because of an additional reference from glibc itself
that anything searches for /lib/ld-linux.so.2.

You haven't even told us whether you get the error at compile time or
run time.  Show us what we would see if we were looking over your
shoulder, or if we were doing it ourselves.  Until you do, we can only
guess what the problem might be.  You have described your problem, but
you must also let the problem speak for itself.

> With other words, I am trying to convince you (?) to fix the mistake
> certainly going to cause problems for other users,
> possibly with subtle and hard to diagnose effects.

I am not a binutils maintainer, so I wouldn't be the one to fix it.
But I have experience with installing glibc in odd places, and linking
to such a glibc, and I am fairly confident that the problem is in your
expectations and in your invocation of gcc/ld, not in ld.  However,
assuming there is a mistake in your thinking, I can't point it out to
you unless you show me exactly what you are doing.


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]