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

Issue with LSB 0.1: Dynamic Linking: Program Interpreter



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.
-- 
Joel Klecker (aka Espy)                    Debian GNU/Linux Developer
<URL:mailto:jk@espy.org>                 <URL:mailto:espy@debian.org>
<URL:http://web.espy.org/>               <URL:http://www.debian.org/>


Reply to: