xref: /freebsd/usr.bin/ldd/ldd.1 (revision 17d6c636720d00f77e5d098daf4c278f89d84f7b)
1.\" $FreeBSD$
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
15.Nm
16displays all shared objects that are needed to run the given program.
17Contrary to
18.Xr nm 1 ,
19the list includes
20.Dq indirect
21dependencies that are the result of needed shared objects which themselves
22depend on yet other shared objects.
23.Pp
24Zero, one or two
25.Fl f
26options may be given.
27The argument is a format string passed to
28.Xr rtld 1
29and allows customization of
30.Nm Ns 's
31output.
32See
33.Xr rtld 1
34for a list of recognized conversion characters.
35.Pp
36The
37.Fl v
38option displays an verbose listing of the dynamic linking headers
39encoded in the executable.  See the source code and include
40files for the definitive meaning of all the fields.
41.Sh SEE ALSO
42.Xr ld 1 ,
43.Xr nm 1 ,
44.Xr rtld 1
45.Sh HISTORY
46A
47.Nm
48utility first appeared in SunOS 4.0, it appeared in its current form in
49.Fx 1.1 .
50.Pp
51The
52.Fl v
53support is based on code written by
54.An John Polstra Aq jdp@polstra.com
55