Linux Commands For Shared Library Management & Debugging Problem
Jan 10, 2011, 16:34 (0 Talkback[s])
(Other stories by Vivek Gite)
Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers
[ Thanks to An Anonymous Reader for
this link. ]
"If you are a developer, you will re-use code provided by
others. Usually /lib, /lib64, /usr/local/lib, and other directories
stores various shared libraries. You can write your own program
using these shared libraries. As a sys admin you need to manage and
install these shared libraries. Use the following commands for
shared libraries management, security, and debugging problems.
"What is a Library In Linux or UNIX? In Linux or UNIX like
operating system, a library is noting but a collection of resources
such as subroutines / functions, classes, values or type
specifications. There are two types of libraries:
"Static libraries - All lib*.a fills are included into
executables that use their functions. For example you can run a
sendmail binary in chrooted jail using statically liked libs.
"Dynamic libraries or linking [ also known as DSO (dynamic
shared object)] - All lib*.so* files are not copied into
executables. The executable will automatically load the libraries
using ld.so or ld-linux.so."