yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame] | 1 | .TH LDCONFIG 8 2005-08-15 uClibc "Linux Programmer's Manual" |
| 2 | .SH NAME |
| 3 | ldconfig \- 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 |
| 26 | creates the necessary links and cache to the most recent shared libraries |
| 27 | found 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 |
| 31 | checks the header and file names of the libraries it encounters when |
| 32 | determining which versions should have their links updated. |
| 33 | |
| 34 | .B Note: |
| 35 | Some features may not exist depending on how uClibc was built |
| 36 | .SH OPTIONS |
| 37 | .TP |
| 38 | .B -C cache |
| 39 | use specified \fIcache\fR instead of default |
| 40 | .TP |
| 41 | .B -D |
| 42 | debug mode, do not update links |
| 43 | .TP |
| 44 | .B -f conf |
| 45 | use specified \fIconf\fR instead of default |
| 46 | .TP |
| 47 | .B -l |
| 48 | library mode, manually link libraries |
| 49 | .TP |
| 50 | .B -n |
| 51 | do not process standard trusted directories |
| 52 | .TP |
| 53 | .B -N |
| 54 | do not update the library cache |
| 55 | .TP |
| 56 | .B -p |
| 57 | print the current library cache |
| 58 | .TP |
| 59 | .B -q |
| 60 | quiet mode, do not print warnings you should actually be reading |
| 61 | .TP |
| 62 | .B -r root |
| 63 | chroot to \fIroot\fR before running |
| 64 | .TP |
| 65 | .B -v |
| 66 | verbose mode, print things as we go, and generally be annoying |
| 67 | .TP |
| 68 | .B -X |
| 69 | do not update the library links |
| 70 | .SH BUGS |
| 71 | Probably, make sure you complain when you find them: |
| 72 | .br |
| 73 | http://bugs.uclibc.org/ |