ldd.1 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. .\" Copyright 1995-2000 David Engel (david@ods.com)
  2. .\" Copyright 1995 Rickard E. Faith (faith@cs.unc.edu)
  3. .\" Most of this was copied from the README file. Do not restrict distribution.
  4. .\" May be distributed under the GNU General Public License
  5. .TH LDD 1 "14 March 1998"
  6. .SH NAME
  7. ldd \- print shared library dependencies
  8. .SH SYNOPSIS
  9. .B ldd
  10. .RB [ \-vVdr ]
  11. program|library ...
  12. .SH DESCRIPTION
  13. .B ldd
  14. prints the shared libraries required by each program or shared library
  15. specified on the command line.
  16. If a shared library name does not contain a '/',
  17. .B ldd
  18. attempts to locate the library in the standard locations.
  19. To run
  20. .B ldd
  21. on a shared library in the current directory, a "./" must be prepended
  22. to its name.
  23. .SH OPTIONS
  24. .TP
  25. .B \-v
  26. Print the version number of
  27. .BR ldd .
  28. .TP
  29. .B \-V
  30. Print the version number of the dynamic linker,
  31. .BR ld.so .
  32. .TP
  33. .B \-d
  34. Perform relocations and report any missing functions (ELF only).
  35. .TP
  36. .B \-r
  37. Perform relocations for both data objects and functions, and
  38. report any missing objects (ELF only).
  39. .SH BUGS
  40. .B ldd
  41. does not work very well on libc.so.5 itself.
  42. .PP
  43. .B ldd
  44. does not work on a.out shared libraries.
  45. .PP
  46. .B ldd
  47. does not work with some extremely old a.out programs which were
  48. built before
  49. .B ldd
  50. support was added to the compiler releases.
  51. If you use
  52. .B ldd
  53. on one of these programs, the program will attempt to run with argc = 0 and
  54. the results will be unpredictable.
  55. .SH AUTHOR
  56. David Engel.
  57. .SH SEE ALSO
  58. .BR ldconfig (8),
  59. .BR ld.so (8).