This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ld-linux.so.2 replaced with ld-linux-x86-64.so.2
- From: John Pierce <john dot w dot pierce at gmail dot com>
- To: binutils at sources dot redhat dot com
- Date: Thu, 11 Aug 2005 17:08:38 -0500
- Subject: Re: ld-linux.so.2 replaced with ld-linux-x86-64.so.2
- References: <d3f4099305080912426cdab6ee@mail.gmail.com> <878xz8eg0i.fsf@amaterasu.srvr.nix>
> It is in the GCC specs file, in the link-arch* stanzas, generally
> looking vaguely like this:
>
> -m elf32_sparc -Y P,/usr/lib %{shared:-shared} %{!shared: %{!ibcs: %{!static: %{rdynamic:-export-dynamic} %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}} %{static:-static}}}
My specs were changed to reflect the correct location.
> (Of course, changing the name of the dynamic linker will render programs
> you compile pretty much unrunnable on other systems which name it
> differently.)
Yeah, such is the case with precompilied java which uses
/lib64/ld-linux-x86-64.so.2, but a simlink does the trick
Seing that ldd is a script, I just changed the linker from $(32) $(64)
to just $(64)
So problem fixed.
Thanks.