LD. So(8) LD. So (8)
Name
LD. Also/ld-linux.so-dynamic linker/loader
Description
LD. So loads the shared libraries needed by a program, prepares the pro ‐
Gram to run, and then runs it. Unless explicitly specified via
-Static option to LD during compilation, all Linux programs are incom ‐
Plete and require further linking at run time.
The necessary shared libraries needed by the program are searched
In the following order
O using the environment variable LD_LIBRARY_PATH
(Ld_aout_library_path for A. out programs). Need t if the exe ‐
Cutable is a Setuid/Setgid binary, in which case it is ignored.
O from the cache file/etc/lD. So. cache which contains a compiled
List of candidate libraries previusly found in the augmented
Library path.
O in the default path/lib, And then/usr/lib.
Dynamic Link, loading
(This library component is not itself a library. Instead, LD. So is an executable invoked by the ELF binary format loader to load the dynamically linked libraries into an application's memory space .)
-------------------------------------------------------------------------------
LDD (1)LDD (1)
Name
LDD-print shared library Dependencies
-------------------------------------------------------------------------------
LD (1)GNU development tools LD (1)
Name
LD-the GNU linker
Synopsis
LD [Options] objfile...
Description
LD combines a number of object and archive files, relocates their data
And ties up symbol references. Usually the last step in compiling
Program is to run lD.
LD accepts linker command language files written in a superset
At&t's link editor command language syntax, to provide explicit and
Total control over the linking process.
The last step of the linker Compilation:
LDOther-command-line-Options/Tmp/a. o/tmp/B. O-o a. Out
Refer:
Http://en.wikipedia.org/wiki/Linker_ (Computing)
Linkers and loaders by Sandeep Grover
Http://en.wikipedia.org/wiki/Loader_ (Computing) # cite_note-0