420 B
420 B
Libraries
They are somehow a pain to manage...
-
Package installed libraries are in
/usr/lib
-
Self-compiled are in
/usr/local/lib
-
Libraries are search according to
$LD_LIBRARY_PATH
- If not set, then
/etc/ld.so.config
is considered
- If not set, then
-
ldconfig -p
lists all libraries found- Can be greped to check is library was found
-
ldconfig -v
shows errors etc -
/usr/include
also contains some stuff