ld-linux.so.2 replaced with ld-linux-x86-64.so.2
John Pierce
john.w.pierce@gmail.com
Thu Aug 11 22:08:00 GMT 2005
> 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.
More information about the Binutils
mailing list