Libc - Version herausfinden & andere Fragen
Achim Neumann
Achim.Neumann at CIMTEXTIL.DE
Mon Aug 28 13:35:55 CEST 2000
On Mon, Aug 28, 2000 at 01:16:02PM +0200, Florian Lohoff wrote:
>
> (flo at ping)~# ldd --version
> ldd: invalid option -- -
> ldd: version 1.9.11
> ldd: invalid option -- e
> ldd: invalid option -- s
> ldd: invalid option -- i
> ldd: invalid option -- o
> ldd: invalid option -- n
>
>
> "ldd" zeigt library dependencies fuer binarys - z.b. ls
>
> (flo at ping)~# ldd /bin/ls
> libc.so.6 => /lib/libc.so.6 (0x4001b000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> Hilft aber nicht da nicht klar ist ob das eine glibc 2.0 oder 2.1
> ist weil beide als libc.so.6 installiert werden ...
>
> Unter debian ist /lib/libc.so.6 aber ein link der brauchbar ist
>
> (flo at ping)~# ls -la /lib/libc.so.6
> lrwxrwxrwx 1 root root 13 May 11 12:15 /lib/libc.so.6
> -> libc-2.1.3.so
>
> glibc 2.1.3
>
Es scheint unterschiedliche Versionen vom ldd zu geben:
aneu at silk:~ > ldd --version
ldd (GNU libc) 2.1.2
Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
aneu at silk:~ > ls -l /lib/libc.so.6
-rwxr-xr-x 1 root root 4223971 Nov 6 1999 /lib/libc.so.6
aneu at silk:~ > strings /lib/libc.so.6 | grep Library
GNU C Library stable release version 2.1.2, by Roland McGrath et al.
Selbst der Linker ist distributionsabhaengig ?
--
Achim Neumann
-
Hinweise zur Benutzung dieser (und anderer Mailing-Listen) bitte beachten:
--> http://lug-owl.de/mailinglist_hints.html <--
More information about the Linux
mailing list