LDD(1)LDD(1)NAMEldd - Shows run-time DSO dependencies
SYNOPSISldd [-D] [-a rldargs] object
DESCRIPTION:
The runtime dynamic linker loads the object (an executable or dynamic
shared object [DSO]) and all of the libraries reporting what libraries
were loaded. It does not execute the program or DSO.
This makes it easy to detect what libraries are loaded by an
executable without having to run it.
Options:
-a rldargs
Sets the environment variable _RLD_ARGS to the string rldargs
before executing the runtime linker (rld).
-D Does not report on delay-loaded DSOs.
NOTESldd does not report on libraries opened using dlopen(3C).
Unless the -D option is specified, ldd reports on delay-loaded
libraries. If the -D option is not specified, ldd may show messages
other than those it would show during normal execution, because the
order of DSO loading and symbol resolution is necessarily different.
ldd honors the _RLD*_PATH environment variables for use in testing ldd
and rld. If the appropriate _RLD*_PATH is pointing to an rld, not an
rld.debug, ldd does not do anything useful.
There is a -x option used to debug ldd that is not normally useful.
FILES
/usr/lib/rld.debug
/usr/lib32/rld.debug
/usr/lib64/rld.debug
/usr/bin/ldd
SEE ALSO:dbx(1), elfdump(1), ld(1), par(1), rld(1),
dlopen(3C), sgidlopen_version(3C), sgidladd(3C)dso(5)