Libc - Version herausfinden & andere Fragen

Achim Neumann Achim.Neumann at CIMTEXTIL.DE
Mon Aug 28 15:25:32 CEST 2000


On Mon, Aug 28, 2000 at 02:01:05PM +0200, Florian Lohoff wrote:
> On Mon, Aug 28, 2000 at 01:35:55PM +0200, Achim Neumann wrote:
> 
> Der dynamische linker selber ist bestandteil der glibc/libc.
> 
> Ich vermute das die glibc selber auch ein "ldd" enthaelt
> das aber bei debian keine verwendung findet.
> 
Du hast recht:

aneu at silk:~ > rpm -qf /usr/bin/ldd
shlibs-2.1.2-24

aneu at silk:~ > rpm -qi shlibs
[...]
Summary     : The shared libraries (from the c-library-package)
Description :
Shared C libraries - needed to run programs linked with
libc and libm libraries (almost all).
Further basic support for international codepages and some binaries
contained in the libc-source.
[...]

aneu at silk:~ > rpm -ql  ldso | grep ldd
/usr/bin/lddlibc5	(aha)
[...]

aneu at silk:~ > lddlibc5 /bin/ls
        libc.so.6 => /lib/libc.so.6 (0x4001f000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

aneu at silk:~ > lddlibc5 --version
lddlibc5: illegal option -- -
lddlibc5: version 1.9.9
lddlibc5: illegal option -- e
lddlibc5: illegal option -- s
lddlibc5: illegal option -- i
lddlibc5: illegal option -- o
lddlibc5: illegal option -- n

Hier (suse 6.x) scheint das Tool einen anderen Namen zu haben.

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