User's Manual

Viewing library dependencies with ldd(1)
The ldd command lists the dynamic dependencies of executable files or shared libraries. The
ldd command displays verbose information about dynamic dependencies and symbol references:
Executable All shared libraries that are loaded as a result of executing the file. Shared library All
shared libraries that are loaded as a result of loading the library. The ldd command uses the same
algorithm as the dynamic loader (/usr/lib/dld.sl and /usr/lib/pa20_64/dld.sl) to
locate the shared libraries. The ldd command does not list shared libraries explicitly loaded using
dlopen(3C) or shl_load(3X). The ldd command prints the record of shared library path
names to stdout. It prints the optional list of symbol resolution problems to stderr.
Table 12 optional list of symbol resolution problems to stderr
Use the optionTo do this
-b32-bit mode only: Used in conjunction with -d and/or -r, force dld.sl to bind all dependent
libraries and report unsats. By default the smartbind mechanism in dld.sl only binds
libraries whose symbols are explicitly referenced.
-dCheck reference to data symbols.
-rCheck reference to data and code symbols.
-sDisplay the search path used to locate the shared libraries.
-vDisplay all dependency relationships.
-y, <symbol>Find names of module which refers and defines the symbol.
74 Linker Tools for PA-RISC Systems