ldd(1)							      General Commands Manual							    ldd(1)

NAME
ldd - List dynamic dependencies of executable files or shared objects SYNOPSIS
ldd [-rdV] filename OPTIONS
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. DESCRIPTION
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 exe- cute permission, and if this is not the case, it will issue a warning before attempting to process the file. NOTES
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. EXIT STATUS
If filename is not an executable file or a shared object, a non-zero exit status is returned. EXAMPLES
The following command lists the static dependencies of libXm.so: ldd /usr/shlib/libXm.so The following command lists the static dependen- cies of libXm.so as well as any unresolved symbol in libXm.so or any of its dependents: ldd -r /usr/shlib/libXm.so SEE ALSO
loader(5) ldd(1)