This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld-linux.so.2 replaced with ld-linux-x86-64.so.2


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]