ldd
print shared library dependencies
see also :
ldconfig
Synopsis
ldd
[OPTION]... FILE...
add an example, a script, a trick and tips
examples
source
cd bin
export LD_LIBRARY_PATH=.
ldd GAME
./GAME
description
ldd
prints the shared libraries required by each program or
shared library specified on the command line.
options
--version
Print the version number of
ldd.
-v --verbose
Print all information,
including e.g. symbol versioning information.
-d --data-relocs
Perform relocations and report
any missing objects (ELF only).
-r --function-relocs
Perform relocations for both
data objects and functions, and report any missing objects
or functions (ELF only).
-u --unused
Print unused direct
dependencies.
--help
Usage information.
bugs
ldd does
not work on a.out shared libraries.
ldd does
not work with some extremely old a.out programs which were
built before ldd support was added to the compiler
releases. If you use ldd on one of these programs,
the program will attempt to run with argc = 0 and the
results will be unpredictable.
see also
ldconfig ,
ld.so.
author
Roland McGrath
and Ulrich Drepper.