How to Find out Your libc Version

Support knowledgebase (libcversion)
Applies to

SuSE Linux: All versions

Situation:

You want to find out the version of the C library libc included in your SuSE Linux.

Procedure:

Simply execute the library. The following is an example of the command execution and output in SuSE Linux 6.4:
snbarth@descartes:~ > /lib/libc.so.6
GNU C Library stable release version 2.1.3, by Roland McGrath et al.
Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 99 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 2.95.2 19991024 (release).
Compiled on a Linux 2.2.14 system on 2000-03-11.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        linuxthreads-0.8 by Xavier Leroy
        NoVersion patch for broken glibc 2.0 binaries
        BIND-4.9.7-REL
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
        NSS V1 modules 2.0.2 by Thorsten Kukuk
        libthread_db work sponsored by Alpha Processor Inc
Report bugs using the `glibcbug' script to <bugs@gnu.org>.
The version number is displayed on the first line: 2.1.3.

Please note: This procedure works with new glibc only, i.e. those whose file names contain a "6" such as libc.so.6 in the example above.


Keywords: GLIBC, VERSION

SDB-libcversion, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 04. Jul 2002
SuSE Linux AG - Last generated: 04. Jul 2002 by ip (sdb_gen 1.40.0)