Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
LDD(1)                  FreeBSD General Commands Manual                 LDD(1)

NAME
     ldd - list dynamic object dependencies

SYNOPSIS
     ldd [-a] [-v] [-f format] program ...

DESCRIPTION
     The ldd utility displays all shared objects that are needed to run the
     given program or to load the given shared object.  Contrary to nm(1), the
     list includes ``indirect'' dependencies that are the result of needed
     shared objects which themselves depend on yet other shared objects.

     Zero, one or two -f options may be given.  The argument is a format
     string passed to rtld(1) and allows customization of ldd's output.  See
     rtld(1) for a list of recognized conversion characters.

     The -a option displays the list of all objects that are needed by each
     loaded object.  This option does not work with a.out(5) binaries.

     The -v option displays a 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.

SEE ALSO
     ld(1), nm(1), rtld(1)

HISTORY
     A ldd utility first appeared in SunOS 4.0, it appeared in its current
     form in FreeBSD 1.1.

     The -v support is based on code written by John Polstra <jdp@polstra.com>

FreeBSD 11.0-PRERELEASE        October 22, 1993        FreeBSD 11.0-PRERELEASE

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | HISTORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=ldd&sektion=1&manpath=FreeBSD+5.3-RELEASE>

home | help