GNU C-Bibliothek

Aus Mikiwiki
Wechseln zu: Navigation, Suche

Die GNU C-Bibliothek / Glibc (engl. GNU C Library) ist eine freie Implementierung der Standard C Library, die vom GNU-Projekt zusammen mit der GNU Compiler Collection entwickelt wird. Sie ist die wichtigste Linux-Programmbibliothek und beinhaltet unter anderem Funktionen, um eine Datei zu lesen oder zu schreiben. Ohne diese Bibliothek lässt sich nicht mit Linux arbeiten. Weil fast jedes Programm auf ihr aufbaut, darf sie sich nicht zu oft ändern; Updates gibt es nur alle paar Jahre.

FAQ

Anzeige der Glibc-Version

Dazu gibt es mehrere Möglichkeiten:

# ldd --version
ldd (GNU libc) 2.4
Copyright (C) 2006 Free Software Foundation, Inc.
...
# rpm -qi glibc
Name        : glibc                        Relocations: (not relocatable)
Version     : 2.4                               Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Release     : 31.74.1                       Build Date: Fri Sep  4 20:25:36 2009
Install Date: Thu Jun 17 18:09:20 2010      Build Host: nono
Group       : System/Libraries              Source RPM: glibc-2.4-31.74.1.src.rpm
Size        : 4534662                          License: BSD 3-Clause; GPL v2 or later; LGPL v2.1 or later
Signature   : DSA/SHA1, Fri Sep  4 20:28:37 2009, Key ID a84edae89c800aca
Packager    : http://bugs.opensuse.org
URL         : http://www.gnu.org/software/libc/libc.html
Summary     : Standard Shared Libraries (from the GNU C Library)
Description :
The GNU C Library provides the most important standard libraries used
by nearly all programs: the standard C library, the standard math
library, and the POSIX thread library.	A system is not functional
without these libraries.
Distribution: SUSE Linux Enterprise 10
# /lib/libc.so.6
GNU C Library stable release version 2.4 (20090904), by Roland McGrath et al.
Copyright (C) 2006 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.
Configured for i686-suse-linux.
Compiled by GNU CC version 4.1.2 20070115 (SUSE Linux).
Compiled on a Linux 2.6.16 system on 2009-09-04.
Available extensions:
       crypt add-on version 2.1 by Michael Glad and others
       GNU Libidn by Simon Josefsson
       GNU libio by Per Bothner
       NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
       NoVersion patch for broken glibc 2.0 binaries
       Native POSIX Threads Library by Ulrich Drepper et al
       BIND-8.2.3-T5B
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

Weblinks

Herausgeber Sprache Webseitentitel Anmerkungen
country US.gif Free Software Foundation eng GNU C Librarywbm Offizielle Homepage
country DE.gif Wikipedia ger Glibcwbm Enzyklopädischer Artikel