In addition to the libc and LIBM libraries, there are no other standard naming conventions for UNIX system libraries. Some system libraries on Linux may be different from the names of Libraries on UNIX platforms, which requires knowledge of the features that are included and supported by the various libraries on Linux. Table 3-2 lists some of the Linux system libraries based on the features supported.
The following is a list of the library files contained in the GNU LIBC Library and the corresponding descriptions (Note 5):
-Ld.so, an auxiliary program provided by an executable program that uses a shared library;
-Libbrokenlocal. [A,so],mozilla and other applications to solve the corrupted locale library files;
-libsegfault.so, segment error signal processor, which attempts to capture a segment error signal.
-Libanl. [A,so], an asynchronous name Query library.
-LIBBSD-COMPAT.A, the library needed to run the BSD program on Linux.
-libc. [A,so], the most important C library (a collection of commonly used C functions).
-Libcrypt. [A,so], encrypt the library.
-LIBDL. [A,so], dynamic Link Interface library.
-libg.a,g++ Run-time Library.
-Libieee.a,ieee floating-point operations library.
-LIBM. [A,so], math library.
-LIBMCHECK.A, which contains code to run at startup.
-a library used by Libmemusage.so,memusage to collect application memory usage.
-LIBNSL.A, Network Service library.
-Libnss_comkpat.so,libnss_dns.so, libnss_files.so, libnss_hesiod.so, libnss_nis.so, Libnss_nisplus.so,nss (Name Service Switch library, which contains functions that resolve host names, user names, group names, aliases, services, protocols, and so on.
-Libpcprofile.so, contains a summary analysis (profiling) function that traces the CPU time to the line of trace statistic code.
-Libpthread. [A,so],posix line Threading.
-Libresolv. [A,so], which contains functions for creating, sending, and interpreting network packets for a network domain name server.
-LIBRPCSVC.A, which contains functions that provide a variety of RPC services.
-LIBRT. [A,so], which contains most of the interface functions defined by the posix1.b real time extension.
-Libthread_db.so, which contains functions to develop the multithreaded debugger.
-Libutil. [A,so], contains "standard" functions used by common UNIX tools.
Most of these libraries are located in the/usr/lib directory, and there are some in the/lib directory, such as libsegfault.so.
3.1.1 GLIBC follow the standard
The GNU GLIBC publishes a report that describes the standards it follows (note 6). The report also lists the areas where the GNU libc needs to be improved. When writing this book, the report shows that the GNU libc passed the POSIX90, POSIX96, UNIX98, ANSI, c89/99, and ISO9899 standard header file consistency check. GLIBC for all major Linux distributions also follow the LSB specification.