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