Libc - Version herausfinden & andere Fragen

Florian Lohoff flo at rfc822.org
Mon Aug 28 13:16:02 CEST 2000


On Mon, Aug 28, 2000 at 11:15:34AM +0200, Amrey Krause wrote:
> > Hallo zusammen,
> > 
> > kann mir jemand sagen, wie ich herausfinde, welche libc - Version auf einer
> > Linuxdistri, in dem Fall Slackware, installiert ist?
> 
> ldd --version
> 

(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

Flo
-- 
Florian Lohoff		flo at rfc822.org		      	+49-5201-669912
      "Write only memory - Oops. Time for my medication again ..."


-
Hinweise zur Benutzung dieser (und anderer Mailing-Listen) bitte beachten:
--> http://lug-owl.de/mailinglist_hints.html <--



More information about the Linux mailing list