Linux dynamic link library

Intellectual preparation

 ldconfig specified for the directory or file /etc/ld.so.config the command line illustrated catalog or some trusted directory (such as / usr / lib, / lib) in the latest dynamic link library to create the necessary connections and cache. The cached data is used by the dynamic linker ld.so or ld-linux.so. ldconfig examines the dynamic library files it encounters the name and version number to determine which connection dynamic library to be updated ldconfig for different versions, create a soft link

Note: The system dynamic shared libraries when using!

ldd
role: to view the shared libraries required to run the program, the program used to solve some problems due to the lack of a library file can not run


Guess you like

Origin blog.51cto.com/fengyuzaitu/2458158