| |
The dynamic loader | page 4 of 8 |
So, if dynamic executables don't contain everything they need to run, what
part of Linux has the job of loading them along with any necessary shared
libraries so that they can execute correctly? The answer is something called
the dynamic loader, which is actually the ld-linux.so.2 library
that you see listed as a shared library dependency in ln's
ldd listing. The dynamic loader takes care of loading the shared
libraries that dynamically linked executables need in order to run. Now, let's
take a quick look at how the dynamic loader finds the appropriate shared
libraries on your system.
|