Re: Issue with LSB 0.1: Dynamic Linking: Program Interpreter
On Fri, 19 Nov 1999, Joel Klecker wrote:
> This says the interpreter is /lib/ld-linux.so.2, however that is not
> correct for all values of *-*-linux-gnu.
>
> In the glibc sources is the shlib-versions file which is used to determine
> the soname of the interpreter:
>
> i.86-.*-linux.* ld=ld-linux.so.2
> sparc64-.*-linux.* ld=ld-linux.so.2
> sparc.*-.*-linux.* ld=ld-linux.so.2
> alpha.*-.*-linux.* ld=ld-linux.so.2
> arm.*-.*-linux.* ld=ld-linux.so.2
> # We use the ELF ABI standard name for the default.
> .*-.*-.* ld=ld.so.1
>
> gcc also "knows" this value so that it knows what to pass to the linker for
> the -dynamic-linker argument.
Would a Linux application ever get a value other than ld-linux.so.2? That
is all that I have come across.
Stuart
Stuart R. Anderson anderson@metrolink.com
Metro Link Incorporated South Carolina Office
4711 North Powerline Road 129 Secret Cove Drive
Fort Lauderdale, Florida 33309 Lexington, SC 29072
voice: 954.938.0283 voice: 803.951.3630
fax: 954.938.1982 SkyTel: 800.405.3401
http://www.metrolink.com/
Reply to: