OS Manuals

/usr/bin/ldconfig

the GNU C library

From glibc-2.43 2.43-r23 (os), captured 2026-11-07 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
  -i, --ignore-aux-cache     Ignore auxiliary 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
  -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 (14)
OptionDescriptionSource
-c, --format FORMATFormat to use: new (default), old, or compathelp
-C CACHEUse CACHE as cache filehelp
-f CONFUse CONF as configuration filehelp
-i, --ignore-aux-cacheIgnore auxiliary 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
-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.