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