Linux Administration/Installation/Shared Libraries
This lesson covers shared libraries.
Objectives and Skills
editObjectives and skills for the shared libraries portion of Linux+ certification include:[1]
- Manage shared libraries
- Identify shared libraries
- Identify the typical locations of system libraries
- Load shared libraries
- The following is a partial list of the used files, terms and utilities:
- ldd
- ldconfig
- /etc/ld.so.conf
- LD_LIBRARY_PATH
Readings
editMultimedia
editActivities
edit- Complete the tutorial IBM: Learn Linux, 101: Manage shared libraries
Lesson Summary
editLD_LIBRARY_PATH
is used to temporarily substitute a different library for this particular execution and is handy for development and testing.[2]ldconfig
configures dynamic linker run-time bindings.[3]ldconfig -p
prints the lists of directories and candidate libraries stored in the current cache.[4]ldconfig -n
processes only the directories specified on the command line and don't rebuild the cache.[5]ldconfig -V
prints program version.[6]ldd
prints shared object dependencies.[7]ldd
prints shared object dependencies.[8]