English pages are provided only to compare translations to original pages,
better looking pages can be browsed
at the Linux man-pages official site.
Linux Programmer's Manual (8)
ldconfig - configure dynamic linker run-time bindings
creates the necessary links and cache to the most recent shared
libraries found in the directories specified on the command line,
in the file
and in the trusted directories
The cache is used by the run-time linker,
checks the header and filenames of the libraries it encounters when
determining which versions should have their links updated.
will attempt to deduce the type of ELF libs (i.e., libc5 or libc6/glibc)
based on what C libs, if any, the library was linked against.
Some existing libs do not contain enough information to allow the deduction of
file format allows the specification of an expected type.
This is used
for those ELF libs which we can not work out.
is "dirname=TYPE", where TYPE can be libc4, libc5, or libc6.
(This syntax also works on the command line.)
Also see the
should normally be run by the superuser as it may require write
permission on some root owned directories and files.
Print current version number, the name of each directory as it
is scanned, and any links that are created.
Overrides quiet mode.
Only process directories specified on the command line.
Don't process the trusted directories
nor those specified in
Don't rebuild the cache.
is also specified, links are still updated.
Don't update links.
is also specified, the cache is still rebuilt.
- -f conf
- -C cache
- -r root
Change to and use
as the root directory.
Manually link individual libraries.
Intended for use by experts only.
Print the lists of directories and candidate libraries stored in
the current cache.
File containing a list of colon, space, tab, newline, or comma-separated
directories in which to search for libraries.
File containing an ordered list of libraries found in the directories
as well as those found in
This page is part of release 3.66 of the Linux
A description of the project,
information about reporting bugs,
and the latest version of this page,
can be found at
- SEE ALSO
This document was created by
using the manual pages.
Time: 21:43:05 GMT, July 12, 2014