UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: ldChapter 2
Unix Commands
Next: Reference: lex
 

ldd

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.

Options

Specify only one of these options:

-d

Check references to data objects only.

-r

Check references to data objects and to functions.

Solaris Options

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.


Previous: Reference: ldUNIX in a Nutshell: System V EditionNext: Reference: lex
Reference: ldBook IndexReference: lex

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System