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 be used to
show unresolved symbol references that would result
from running
file
. Specify only one option.
-
-d
-
Check references to data objects only.
-
-r
-
Check references to data objects and to functions.