Detailed ldconfig command, linux dynamic link library

  
 

Dynamic Link Library Management Commands

In order to make the dynamic link library shared by the system, you also need to run the dynamic link library management command --ldconfig. This executable program is stored in the /sbin directory.

The purpose of the ldconfig command is to search for sharable dynamic links in the default search directories (/lib and /usr/lib) and the directories listed in the dynamic library configuration file /etc/ld.so.conf. The library (formatted as before, lib*.so*), which in turn creates the connection and cache files needed by the dynamic loader (ld.so). The cache file defaults to /etc/ld.so.cache, which is saved. A well-ordered list of dynamic link library names.

ldconfig usually runs at system startup, and when the user installs a new dynamic link library, you need to manually run this command.

ldconfig command line usage is as follows:

ldconfig [-v

Copyright © Windows knowledge All Rights Reserved