xref: /dragonfly/usr.bin/ldd/ldd.1 (revision 984263bc)
1.\" $FreeBSD: src/usr.bin/ldd/ldd.1,v 1.12.2.7 2002/06/21 15:27:41 charnier Exp $
2.\"
3.Dd October 22, 1993
4.Dt LDD 1
5.Os
6.Sh NAME
7.Nm ldd
8.Nd list dynamic object dependencies
9.Sh SYNOPSIS
10.Nm
11.Op Fl v
12.Op Fl f Ar format
13.Ar program ...
14.Sh DESCRIPTION
15The
16.Nm
17utility displays all shared objects that are needed to run the given program or
18to load the given shared object.
19Contrary to
20.Xr nm 1 ,
21the list includes
22.Dq indirect
23dependencies that are the result of needed shared objects which themselves
24depend on yet other shared objects.
25.Pp
26Zero, one or two
27.Fl f
28options may be given.
29The argument is a format string passed to
30.Xr rtld 1
31and allows customization of
32.Nm Ns 's
33output.
34See
35.Xr rtld 1
36for a list of recognized conversion characters.
37.Pp
38The
39.Fl v
40option displays an verbose listing of the dynamic linking headers
41encoded in the executable.  See the source code and include
42files for the definitive meaning of all the fields.
43.Sh SEE ALSO
44.Xr ld 1 ,
45.Xr nm 1 ,
46.Xr rtld 1
47.Sh HISTORY
48A
49.Nm
50utility first appeared in SunOS 4.0, it appeared in its current form in
51.Fx 1.1 .
52.Pp
53The
54.Fl v
55support is based on code written by
56.An John Polstra Aq jdp@polstra.com
57