blob: 208d63df188f331262e4d3fa80de7f181630bb84 [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -07001.TH LDCONFIG 8 2005-08-15 uClibc "Linux Programmer's Manual"
2.SH NAME
3ldconfig \- updates symlinks and cache for shared libraries
4.SH SYNOPSIS
5.B ldconfig
6[
7.B -DvqnNX
8] [
9.B -f conf
10] [
11.B -C cache
12] [
13.B -r root
14]
15.B dir ...
16.br
17.B ldconfig -l
18[
19.B -Dv
20]
21.B lib ...
22.br
23.B ldconfig -p
24.SH DESCRIPTION
25.B ldconfig
26creates the necessary links and cache to the most recent shared libraries
27found in the directories specified on the command line, in the file
28\fI/etc/ld.so.conf\fR, and in the default trusted directories (\fI/lib\fR and
29\fI/usr/lib\fR). The cache is used by the run-time linker.
30.B ldconfig
31checks the header and file names of the libraries it encounters when
32determining which versions should have their links updated.
33
34.B Note:
35Some features may not exist depending on how uClibc was built
36.SH OPTIONS
37.TP
38.B -C cache
39use specified \fIcache\fR instead of default
40.TP
41.B -D
42debug mode, do not update links
43.TP
44.B -f conf
45use specified \fIconf\fR instead of default
46.TP
47.B -l
48library mode, manually link libraries
49.TP
50.B -n
51do not process standard trusted directories
52.TP
53.B -N
54do not update the library cache
55.TP
56.B -p
57print the current library cache
58.TP
59.B -q
60quiet mode, do not print warnings you should actually be reading
61.TP
62.B -r root
63chroot to \fIroot\fR before running
64.TP
65.B -v
66verbose mode, print things as we go, and generally be annoying
67.TP
68.B -X
69do not update the library links
70.SH BUGS
71Probably, make sure you complain when you find them:
72.br
73http://bugs.uclibc.org/