/lib : Essential shared libraries and kernel modules
Purpose
The /lib directory contains those shared library images needed to boot the system and run the commands in the root filesystem, ie. by binaries in /bin and /sbin. [12]
Requirements
At least one of each of the following filename patterns are required (they may be files, or symbolic links):
File | Description |
---|---|
libc.so.* | The dynamically-linked C library (optional) |
ld* | The execution time linker/loader (optional) |
If a C preprocessor is installed, /lib/cpp must be a reference to it, for historical reasons. [13]
Specific Options
The following directories, or symbolic links to directories, must be in /lib, if the corresponding subsystem is installed: