home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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: ld UNIX in a Nutshell: System V Edition Next: Reference: lex
Reference: ld Book Index Reference: 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