ldconfig.8 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. .B Note:
  34. Some features may not exist depending on how uClibc was built
  35. .SH OPTIONS
  36. .TP
  37. .B -C cache
  38. use specified \fIcache\fR instead of default
  39. .TP
  40. .B -D
  41. debug mode, do not update links
  42. .TP
  43. .B -f conf
  44. use specified \fIconf\fR instead of default
  45. .TP
  46. .B -l
  47. library mode, manually link libraries
  48. .TP
  49. .B -n
  50. do not process standard trusted directories
  51. .TP
  52. .B -N
  53. do not update the library cache
  54. .TP
  55. .B -p
  56. print the current library cache
  57. .TP
  58. .B -q
  59. quiet mode, do not print warnings you should actually be reading
  60. .TP
  61. .B -r root
  62. chroot to \fIroot\fR before running
  63. .TP
  64. .B -v
  65. verbose mode, print things as we go, and generally be annoying
  66. .TP
  67. .B -X
  68. do not update the library links
  69. .SH BUGS
  70. Probably, make sure you complain when you find them:
  71. .br
  72. http://bugs.uclibc.org/