OS Manuals

/usr/bin/ldconfig

the GNU C library

From glibc-2.44 2.44-r15 (os), captured 2026-11-10 by running ldconfig --help (exit 0). permalink

Usage: ldconfig [OPTION...]
Configure Dynamic Linker Run Time Bindings.

  -c, --format=FORMAT        Format to use: new (default), old, or compat
  -C CACHE                   Use CACHE as cache file
  -f CONF                    Use CONF as configuration file for libraries
  -i, --ignore-aux-cache     Ignore auxiliary cache file
  -I, --install              Install pre-existing cache file
  -l                         Manually link individual libraries.
  -n                         Only process directories specified on the command
                             line.  Don't build cache.
  -N                         Don't build cache
  -p, --print-cache          Print cache
  -r ROOT                    Change to and use ROOT as root directory
  -t TUNCONF                 Use TUNCONF as configuration file for tunables
  -v, --verbose              Generate verbose messages
  -X                         Don't update symbolic links
  -?, --help                 Give this help list
      --usage                Give a short usage message
  -V, --version              Print program version

Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.

For bug reporting instructions, please see:
<https://www.gnu.org/software/libc/bugs.html>.
Options (16)
OptionDescriptionSource
-c, --format FORMATFormat to use: new (default), old, or compathelp
-C CACHEUse CACHE as cache filehelp
-f CONFUse CONF as configuration file for librarieshelp
-i, --ignore-aux-cacheIgnore auxiliary cache filehelp
-I, --installInstall pre-existing cache filehelp
-lManually link individual libraries.help
-nOnly process directories specified on the command line.help
-NDon't build cachehelp
-p, --print-cachePrint cachehelp
-r ROOTChange to and use ROOT as root directoryhelp
-t TUNCONFUse TUNCONF as configuration file for tunableshelp
-v, --verboseGenerate verbose messageshelp
-XDon't update symbolic linkshelp
-?, --helpGive this help listhelp
--usageGive a short usage messagehelp
-V, --versionPrint program versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.