1. LD is looking for linking name when doing linking in the compilation process
libmagic.so
2. Soname created by ldconfig
ldconfig will create a soname as symbolic link
3. d-linux.so (dynamic loader) is looking for sonames when doing dynamic linking.
d-linux.so will look in the content of the cache file /etc/ld.so.cache when no sonames metioned above was found
(cache file /etc/ld.so.cache, which contains a compiled list of candidate libraries)
4. Create a symbolic link
ln -s /webroot/home/httpd/test.com/index.php /home/vivek/index.php
5. run-time : exe + soname (.so.1)
compile-time : main.cpp + linkname (.so)
Note: both soname and linkname must be finally (maybe through linkname -> soname pipe) symbolic linking to realname
6. ld - The GNU linker (Compiler-time linker)
v.s.
ld.so, ld-linux.so* - dynamic linker/loader (Run-time linker)