Name
ldd
Synopsis
ldd [options]file
Solaris and GNU/Linux only. 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.
Options
Specify only one of these options:
-d,--data-relocsCheck references to data objects only.
-r,--function-relocsCheck references to data objects and to functions.
Solaris Options
-
-c Disables the use of configuration files; see crle(1).
-
-eenvar Set the environment variable envar. Useful for experimenting with environment variables that affect ldd without having to change the global environment.
-
-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.
-
-L Enable lazy loading.
-
-s Display the search path for shared object dependencies.
-
-u Display unused objects. Mutually exclusive with
-U.-
-U Display unused objects and dependencies. This is a superset of
-uand is mutually exclusive with it.-
-v Display all dependency relationships and version requirements.
GNU/Linux Options
-v,--verbosePrint all information.
-V,--versionDisplay ldd’s version.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access