1 .\" Copyright 1999 SuSE GmbH Nuernberg, Germany
2 .\" Author: Thorsten Kukuk <kukuk@suse.de>
4 .\" This program is free software; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of the
7 .\" License, or (at your option) any later version.
9 .\" This program is distributed in the hope that it will be useful,
10 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
11 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 .\" General Public License for more details.
14 .\" You should have received a copy of the GNU General Public
15 .\" License along with this manual; if not, see
16 .\" <http://www.gnu.org/licenses/>.
18 .\" Modified, 6 May 2002, Michael Kerrisk, <mtk.manpages@gmail.com>
19 .\" Change listed order of /usr/lib and /lib
20 .TH LDCONFIG 8 2012-05-10 "GNU" "Linux Programmer's Manual"
22 ldconfig \- configure dynamic linker run-time bindings
54 creates the necessary links and cache to the most recent shared
55 libraries found in the directories specified on the command line,
58 and in the trusted directories
62 The cache is used by the run-time linker,
67 checks the header and filenames of the libraries it encounters when
68 determining which versions should have their links updated.
71 will attempt to deduce the type of ELF libs (i.e., libc5 or libc6/glibc)
72 based on what C libs, if any, the library was linked against.
73 .\" The following sentence looks suspect
74 .\" (perhaps historical cruft) -- MTK, Jul 2005
75 .\" Therefore, when making dynamic libraries,
76 .\" it is wise to explicitly link against libc (use \-lc).
78 Some existing libs do not contain enough information to allow the deduction of
82 file format allows the specification of an expected type.
85 used for those ELF libs which we can not work out.
87 is "dirname=TYPE", where TYPE can be libc4, libc5, or libc6.
88 (This syntax also works on the command line.)
96 should normally be run by the superuser as it may require write
97 permission on some root owned directories and files.
102 Print current version number, the name of each directory as it
103 is scanned, and any links that are created.
104 Overrides quiet mode.
107 Only process directories specified on the command line.
108 Don't process the trusted directories
112 nor those specified in
113 .IR /etc/ld.so.conf .
118 Don't rebuild the cache.
121 is also specified, links are still updated.
127 is also specified, the cache is still rebuilt.
133 .IR /etc/ld.so.conf .
139 .IR /etc/ld.so.cache .
144 as the root directory.
148 Manually link individual libraries.
149 Intended for use by experts only.
152 Print the lists of directories and candidate libraries stored in
158 run-time linker/loader
161 File containing a list of colon, space, tab, newline, or comma-separated
162 directories in which to search for libraries.
165 File containing an ordered list of libraries found in the directories
167 .IR /etc/ld.so.conf ,
168 as well as those found in