ldd - List dynamic dependencies of executable files or
shared objects
ldd [-rdV] filename
Prints warnings for any unresolved data symbol references
that would occur as a result of filename being executed.
(Checks references to only data objects, not functions.)
Prints warnings for any unresolved symbol references that
would occur as a result of filename being executed.
(Checks references to both data objects and functions.)
Displays the version of the ldd command.
The ldd command lists the dynamic dependencies of an executable
file or shared object: If filename is an executable
file, ldd lists the pathnames of all shared
objects that would be loaded as a result of executing
filename. If filename is a shared object, ldd lists the
pathnames of all shared objects that would be loaded as a
result of loading filename. The ldd command expects shared
objects to have execute permission, and if this is not the
case, it will issue a warning before attempting to process
the file.
The ldd command does not list shared objects explicitly
attached by using dlopen().
The ldd command prints the record of shared object pathnames
to stdout. The optional list of symbol resolution
problems are printed to stderr.
If filename is not an executable file or a shared object,
a non-zero exit status is returned.
The following command lists the static dependencies of
libXm.so: ldd /usr/shlib/libXm.so The following command
lists the static dependencies of libXm.so as well as any
unresolved symbol in libXm.so or any of its dependents:
ldd -r /usr/shlib/libXm.so
loader(5)
ldd(1)
[ Back ] |