.\" Copyright 1995-1996 David Engel (david@ods.com) .\" Copyright 1995 Rickard E. Faith (faith@cs.unc.edu) .\" Most of this was copied from the README file. Do not restrict distribution. .\" May be distributed under the GNU General Public License .\" Edited by Patrick Volkerding for the glibc-2.2.2 version of ldd, 2001. .TH ldd 1 "14 March 1998" .SH NAME ldd \- print shared library dependencies .SH SYNOPSIS .B ldd .RB [\-drv] [OPTIONS...] [FILE ...] .SH DESCRIPTION This is the .B ldd command, which lists what shared libraries are used by given dynamically-linked executables. It works by invoking the run-time dynamic linker as a command and setting the environment variable LD_TRACE_LOADED_OBJECTS to a non-empty value. If a shared library name does not contain a '/', .B ldd attempts to locate the library in the standard locations. To run .B ldd on a shared library in the current directory, a "./" must be prepended to it's name. .SH OPTIONS .TP .B \--help Print a help message and exit. .TP .B \--version Print the version number and exit. .TP .B \-d, \--data-relocs Perform relocations and report any missing functions. .TP .B \-r, \--function-relocs Perform relocations for both data objects and functions, and report any missing objects. .TP .B \-v, \--verbose Print all information. .SH AUTHOR Roland McGrath and Ulrich Drepper. .SH SEE ALSO .BR ldconfig (8).