Loading Libraries

ldd /bin/cp shows what shared libraries including their version the program cp uses.

*.so are shared libraries (as Windows DLL).

/lib and /usr/lib are the default paths where such libraries can be found

ldconfig creates /etc/ld.so.cache where path to so files can be found. Purpose fast finding when program starts.

See also the libraries chapter in the C programming section

Linurs startpage