Document directory
Link file of glibc [edit]
Actual shared Link Library
-
This type of file name format is libLIBRAY_NAME-GLIBC_VERSION.so, where libray_name is the name of the linked library,
-
Glibc_version is the version number of the suite using glibc, and the name of the mathematical Linked Library for the glibc-2.2.3 is the libm-2.2.3.so
-
Libm is libray_name, while 2.2.3 is the libm version, the actual shared link library of the glibc-2.2.3 is the libc-2.2.3.so
[Edit]
Symbolic Link of the primary Revision
The main modified version of the symbolic link to the actual glibc version is different, with glibc2.2.3 actual shared link library as the libc-2.2.3.so
-
The symbolic link to its primary revision is 6, and, relatively speaking, the primary revision of the libdl-2.2.3.so is numbered 2
-
The format of the symbolic link name of the master revision:
-
Liblibrary_name.so.major_revision_version
-
Liblibrary_name is the name of the Linked Library.
-
Major_revision_versio is the number of the master version of the Linked Library.
-
Dubuntu @ euwy-LAPTOP:/Lib $ LS-l libc. so.6
-
Lrwxrwxrwx 1 Root 13 libc. so.6-> libc-2.3.6.so
[Edit]
A version-independent symbolic link pointing to a main revision.
-
The main function of these symbolic links is to provide a general entry for all programs that need to link to a specific link library, regardless of the version of the main revision.
-
Symbol format:
-
Liblibrary_name.so
-
For example, libm. So points to libm. so.6, while libm. so.6 points to the libm-2.2.3.so.
-
$ LS-l libm. So
-
Lrwxrwxrwx 1 dubuntu users 9 2007-03-24 11: 05 libm. So-> libm. so.6
-
$ LS-l libm. so.6
-
Lrwxrwxrwx 1 dubuntu users 13 libc. so.6-> libc-2.3.2.so
[Edit]
Static Link Library package file
-
These migration packages will be used by applications that select to link the library statically.
-
Static Link Library package file format:
-
Liblibrary_name.a
-
Example: static package file libdl.
When embedding and porting, we only need to transplant the symbolic links of the actual shared Link Library and the master revision library,
[Edit]
Prompt for reference of the link library component and root file system of glibc
Link Library component |
Internal capacity |
Reference prompt |
LD |
Dynamic linker |
Required |
Libbrokernlocale |
Fixes the process and allows applications with problematic local features to run normally. |
Rarely used |
Libsegfault |
Used to capture memory segment errors and the process of Jinxin backtracking |
Rarely used |
Libanl |
Asynchronous name query Process |
Rarely used |
Libc |
Master C-Linked Library Process |
Required |
Libcrypt |
Cryptographic Process |
Most authentication programs, such as Apache |
Libdl |
Used to dynamically load the process of the shared object |
The program that uses the dlopen () function will use |
Libm |
Mathematical process of glibc |
Mathematical functions |
Libmemusage |
Processes used for heap and stack memory statistics |
Rarely used |
Libnsl |
Nis network service connection process |
Rarely used |
Libnss_compat |
This process is compatible with NIs and name switch Service (NSS ). |
Automatically loaded by glibc NSS |
Libnss_dns |
Dns nss Process |
Automatically loaded by glibc NSS |
Libnss_files |
File query NSS Process |
Automatically loaded by glibc NSS |
Libnss_hesiod |
Nss process of Hesiod Name Service |
Automatically loaded by glibc NSS |
Libnss_nis |
Nis nss Process |
Automatically loaded by glibc NSS |
Libnss_nisplus |
NSS process of NIS Plus |
Automatically loaded by glibc NSS |
Libpcprofile |
Program recorder statistics process |
Rarely used |
Libpthread |
Linux POSIX 1003.1c Multithreading |
Multithreading is required |
Libresolv |
Name parser Process |
Name to be resolved |
Librt |
Asynchronous debugging process |
Rarely used |
|
|
|
|
|
|