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. The argument is a format string passed to 25.Xr rtld 1 26and allows customization of 27.Nm ldd Ns 's 28output. See 29.Xr rtld 1 30for a list of recognized conversion characters. 31.Pp 32The 33.Fl v 34option displays an verbose listing of the dynamic linking headers 35encoded in the executable. See the source code and include 36files for the definitive meaning of all the fields. 37.Sh SEE ALSO 38.Xr ld 1 , 39.Xr ld.so 1 , 40.Xr nm 1 41.Sh HISTORY 42A 43.Nm ldd 44utility first appeared in SunOS 4.0, it appeared in its current form 45in FreeBSD 1.1. 46.Pp 47The 48.Fl v 49support is based on code written by John Polstra <jdp@polstra.com> 50