Managed Shared libraries Flashcards
What is a shared library
Files containing functionality that other apps can use
Files end in a .so extension for shared object
Where can you find a shared library in linux
/lib
/usr/lib (for 32bit systems and /usr/lib64 (for 64bit systems
/usr/local/lib
/usr/share
What types of library files are there
Dynamic (ends in .so) Statically linked (ends in .a)
What does the command ldd do
Prints out shared object (library) dependencies
What does the command ldconfig do
Configures dynamic linker run-time bindings, creates a cache based on library directories and can show you what is currently cached
What is stored inside this file /etc/ld/so/config
Config file that points to directories and other config files that hold references to library directory locations
What is the LD-LIBRARY_PATH
Legacy envir. variable that points to a path where library files can be read from