「GNU C Library」- GNU 的 C 库

glibc vs. libc6

What’s the difference between glibc and libc6?

libc6 and glibc are the same version of libc; officially, it’s version 2 of the GNU C Library (but it’s the sixth major version of the Linux C library). You can read more about glibc at the GNU C Library pages.

libc6: Version 6 of the Linux C Library is version 2 of the GNU C Library; the confusion is because Linux has had multiple C library versions. This is the newest technology available, and includes features (like “weak symbols”) that theoretically allow new functions and modified structures in the library without breaking existing code that uses version 6, and avoid kernel version dependency problems. You should be coding and compiling all code against this version.

从发行版的源中安装

使用源码编译安装

参考LFS/Glibc-2.24: http://www.linuxfromscratch.org/lfs/view/7.10/chapter06/glibc.html

安装的二进制程序

catchsegv
Can be used to create a stack trace when a program terminates with a segmentation fault

gencat
Generates message catalogues

getconf
Displays the system configuration values for file system specific variables

getent
Gets entries from an administrative database

iconv
用于进行字符集的转换。

iconvconfig
Creates fastloading iconv module configuration files

ldconfig
Configures the dynamic linker runtime bindings

ldd
Reports which shared libraries are required by each given program or shared library

lddlibc4
Assists ldd with object files

locale
Prints various information about the current locale

localedef
Compiles locale specifications

makedb
Creates a simple database from textual input

mtrace
Reads and interprets a memory trace file and displays a summary in human-readable format

nscd
A daemon that provides a cache for the most common name service requests

pldd
Lists dynamic shared objects used by running processes

rpcgen
Generates C code to implement the Remote Procedure Call (RPC) protocol

sln
A statically linked ln program

sotruss
Traces shared library procedure calls of a specified command

sprof
Reads and displays shared object profiling data

tzselect
Asks the user about the location of the system and reports the corresponding time zone description

xtrace
Traces the execution of a program by printing the currently executed function

zdump
The time zone dumper

zic
The time zone compiler

参考文献

The GNU C Library (glibc)