shared libraries - How do Linux programs know where the library files are and how to call them? -
when install program using apt-get install, tells me dependency libraries need installed.
for example, nginx requires libgd3 (3d graphics library) installed.
- when nginx needs call code in libgd3 how know file and
- how go it? assume must load nginx process heap , use kind of function table make calls?
i not sure how process works, thanks.
the libraries in standard path /usr/lib linker searches during linking. dynamic libraries called shared objects in linux having extension .so . check link know more linux libraries: http://www.yolinux.com/tutorials/libraryarchives-staticanddynamic.html
Comments
Post a Comment