freebsd-nq/usr.bin/ldd/ldd.1

52 lines
1.1 KiB
Groff
Raw Normal View History

.\" $FreeBSD$
.\"
1993-11-03 23:41:59 +00:00
.Dd October 22, 1993
.Dt LDD 1
.Os FreeBSD
1993-11-03 23:41:59 +00:00
.Sh NAME
.Nm ldd
.Nd list dynamic object dependencies
.Sh SYNOPSIS
.Nm ldd
.Op Fl v
.Op Fl f Ar format
.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
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.
.Pp
Zero, one or two
.Fl f
options may be given.
The argument is a format string passed to
.Xr rtld 1
and allows customization of
.Nm ldd Ns 's
output.
See
.Xr rtld 1
for a list of recognized conversion characters.
.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 ,
.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.
.Pp
The
.Fl v
support is based on code written by John Polstra <jdp@polstra.com>