welche GLIBC ist im Einsatz ?

Post Reply
Message
Author
Thomas

welche GLIBC ist im Einsatz ?

#1 Post by Thomas »

hi,

ich hab zur Zeit Probleme mit der richtigen GLIBC.

Wie kann ich abfragen, welche GLIBC auf dem System installiert ist?

Tom

Jochen

Re: welche GLIBC ist im Einsatz ?

#2 Post by Jochen »

Im einfachsten Falle reicht ein <pre>ls -l /lib/libc-*</pre>Wenn Du der Angabe nicht traust, ruf die Bibliothek einfach auf:<pre>/lib/libc-*</pre>ergibt bei mir auf einer RH8-Testkiste<blockquote><hr>GNU C Library development release version 2.2.93, by Roland McGrath et al.
Copyright (C) 1992-2001, 2002 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.
Compiled by GNU CC version 3.2 20020903 (Red Hat Linux 8.0 3.2-7).
Compiled on a Linux 2.4.9-9 system on 2002-09-05.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
The C stubs add-on version 2.1.2.
linuxthreads-0.10 by Xavier Leroy
BIND-8.2.3-T5B
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Glibc-2.0 compatibility add-on by Cristian Gafton
libthread_db work sponsored by Alpha Processor Inc
Report bugs using the `glibcbug' script to <bugs@gnu.org>.
<hr></blockquote>Und wenn Du noch wissen möchtest, welche Bibliothek ein Programm tatsächlich verwendet/verwenden will, dann benutze ldd:<pre>ldd /bin/ls</pre>zeigt, auf welche Bibliotheken ein ls zugreifen können muss, um zu laufen.

Jochen

Tom

Re: welche GLIBC ist im Einsatz ?

#3 Post by Tom »

Danke für die Info - das hilft mir schon etwas weiter.

Gibt es für Suse (7.1) die LIBS komplett nochmals neu aufzuspielen, um einen definierten Zustand zu haben. Wann ja wie ?

bazik

Re: welche GLIBC ist im Einsatz ?

#4 Post by bazik »

Wieder was gelernt :)
Wusste nicht das man die direkt aufrufen kann....

<blockquote><pre><font size="1" face="">code:</font><hr><font face="Courier New" size="2">
bazik@exodus bazik $ /lib/libc.so.6
GNU C Library stable release version 2.3.1, by Roland McGrath et al.
Copyright (C) 1992-2001, 2002 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.
Compiled by GNU CC version 3.2.2.
Compiled on a Linux 2.4.19 system on 2003-02-09.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
linuxthreads-0.10 by Xavier Leroy
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Report bugs using the `glibcbug' script to <bugs@gnu.org>.
bazik@exodus bazik $
</font><hr></pre></blockquote>

Post Reply