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


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:


Check references to data objects only.


Check references to data objects and to functions.

Solaris Options

The following additional options are specific to Solaris:


Force checking of nonsecure executables. This option is dangerous if running as a privileged user.


Print the execution order of initialization sections.


Do immediate processing of any filters, to list all "filtees" and their dependencies.


Display the search path for shared object dependencies.


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