1 .TH ldconfig 8 "14 March 1998"
3 ldconfig \- determine run-time link bindings
25 creates the necessary links and cache (for use by the run-time linker,
27 to the most recent shared libraries found in the directories specified
28 on the command line, in the file
30 and in the trusted directories
35 checks the header and file names of the libraries it encounters when
36 determining which versions should have their links updated.
38 ignores symbolic links when scanning for libraries.
41 will attempt to deduce the type of ELF libs (ie. libc5 or libc6/glibc)
42 based on what C libs if any the library was linked against, therefore when
43 making dynamic libraries, it is wise to explicitly link against libc (use -lc).
45 Some existing libs do not contain enough information to allow the deduction of
46 their type, therefore the
48 file format allows the specification of an expected type. This is
50 used for those ELF libs which we can not work out. The format
51 is like this "dirname=TYPE", where type can be libc4, libc5 or libc6.
52 (This syntax also works on the command line). Spaces are
58 Directory names containing an
59 .B = are no longer legal
60 unless they also have an expected type specifier.
63 should normally be run by the super-user as it may require write
64 permission on some root owned directories and files.
65 It is normally run automatically at bootup, from /etc/rc, or manually
66 whenever new DLL's are installed.
78 Print current version number, the name of each directory as it
79 is scanned and any links that are created.
87 Only process directories specified on the command line.
88 Don't process the trusted directories
92 nor those specified in
98 Don't rebuild the cache.
101 is also specified, links are still updated.
107 is also specified, the cache is still rebuilt.
113 .IR /etc/ld.so.conf .
119 .IR /etc/ld.so.cache .
124 as the root directory.
128 Manually link individual libraries.
129 Intended for use by experts only.
132 Print the lists of directories and candidate libraries stored in
143 will set up the correct links for the shared binaries and rebuild
149 # /sbin/ldconfig -n /lib
152 as root after the installation of a new DLL, will properly update the
153 shared library symbolic links in /lib.
159 execution time linker/loader
162 File containing a list of colon, space, tab, newline, or comma spearated
163 directories in which to search for libraries.
166 File containing an ordered list of libraries found in the directories
168 .BR /etc/ld.so.conf .
179 functionality, in conjunction with
181 is only available for executables compiled using libc version 4.4.3 or greater.
184 being a user process, must be run manually and has no means of dynamically
185 determining and relinking shared libraries for use by
187 when a new DLL is installed.
189 David Engel and Mitch D'Souza.