ldd
[
option
]
file
List dynamic dependencies; that is, list shared objects that would be loaded if file
were executed. (If a valid file
needs no shared objects, ldd
succeeds but produces no output.) In addition, ldd
's options can show unresolved symbol references that result from running file
.
Specify only one of these options:
-d
Check references to data objects only.
-r
Check references to data objects and to functions.
The following additional options are specific to Solaris:
-f
Force checking of nonsecure executables. This option is dangerous if running as a privileged user.
-i
Print the execution order of initialization sections.
-l
Do immediate processing of any filters, to list all "filtees" and their dependencies.
-s
Display the search path for shared object dependencies.
-v
Display all dependency relationships and version requirements.