Option

Modifies

Causes elfdump to

 

 

 

+T num2

-t

Display the symbols in the range 0 to num2.

 

 

With-T, display the symbols in the range num to num2.

 

 

 

-v

-k

Verify the CTTI section headers before printing.

 

 

 

Viewing Library Dependencies with ldd(1)

The ldd(1) 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 loaded as a result of executing the file.

Shared library

All shared libraries loaded as a result of loading the library.

The ldd command uses the same algorithm as the dynamic loader (/usr/lib/hpux32/dld.so and /usr/lib/hpux64/dld.so) 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 a list of symbol resolution problems to stderr

Table 7 Symbol resolution problems to stderr

To do this

Use the option

 

 

Check reference to data symbols.

-d

 

 

Check reference to data and code symbols.

-r

 

 

Displays the search path used to locate the shared libraries.

-s

 

 

Display all dependency relationships

-v

 

 

Find names of module which refers and defines the symbol

-y, <symbol>

 

 

.

60 Linker Tools for Itanium-Based Systems