1999-08-28 23:23:38 +00:00
|
|
|
.\" $FreeBSD$
|
|
|
|
.\"
|
1993-11-03 23:41:59 +00:00
|
|
|
.Dd October 22, 1993
|
|
|
|
.Dt LDD 1
|
1994-12-23 22:31:35 +00:00
|
|
|
.Os FreeBSD
|
1993-11-03 23:41:59 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm ldd
|
|
|
|
.Nd list dynamic object dependencies
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm ldd
|
1996-10-01 02:16:16 +00:00
|
|
|
.Op Fl v
|
1996-11-30 16:12:46 +00:00
|
|
|
.Op Fl f Ar format
|
1996-10-01 01:34:32 +00:00
|
|
|
.Ar program ...
|
1993-11-03 23:41:59 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm ldd
|
|
|
|
displays all shared objects that are needed to run the given program.
|
|
|
|
Contrary to nm(1), the list includes
|
|
|
|
.Dq indirect
|
1997-08-30 12:22:49 +00:00
|
|
|
dependencies that are the result of needed shared objects which themselves
|
1993-11-03 23:41:59 +00:00
|
|
|
depend on yet other shared objects.
|
1996-10-01 01:34:32 +00:00
|
|
|
.Pp
|
|
|
|
Zero, one or two
|
|
|
|
.Fl f
|
2000-03-01 12:20:22 +00:00
|
|
|
options may be given.
|
|
|
|
The argument is a format string passed to
|
1996-10-01 01:34:32 +00:00
|
|
|
.Xr rtld 1
|
|
|
|
and allows customization of
|
|
|
|
.Nm ldd Ns 's
|
2000-03-01 12:20:22 +00:00
|
|
|
output.
|
|
|
|
See
|
1996-10-01 01:34:32 +00:00
|
|
|
.Xr rtld 1
|
1997-12-25 09:36:42 +00:00
|
|
|
for a list of recognized conversion characters.
|
1996-10-01 02:16:16 +00:00
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Fl v
|
|
|
|
option displays an verbose listing of the dynamic linking headers
|
|
|
|
encoded in the executable. See the source code and include
|
|
|
|
files for the definitive meaning of all the fields.
|
1993-11-03 23:41:59 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr ld 1 ,
|
2000-03-28 09:01:04 +00:00
|
|
|
.Xr nm 1 ,
|
|
|
|
.Xr rtld 1
|
1993-11-03 23:41:59 +00:00
|
|
|
.Sh HISTORY
|
|
|
|
A
|
|
|
|
.Nm ldd
|
|
|
|
utility first appeared in SunOS 4.0, it appeared in its current form
|
1994-02-11 12:12:51 +00:00
|
|
|
in FreeBSD 1.1.
|
1996-10-01 02:16:16 +00:00
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Fl v
|
|
|
|
support is based on code written by John Polstra <jdp@polstra.com>
|