ldd_ia.1 (2012 03)

l
ldd_ia(1)
Integrity Systems Only
ldd_ia(1)
NAME
ldd_ia: ldd - list dynamic dependencies of executable files or shared libraries on Integrity systems
SYNOPSIS
ldd [-d][-r][
-s][-v][-y symbol] filename ...
Remarks
This manpage describes
ldd on Integrity systems. For
ldd on PA-RISC systems, see ldd_pa (1).
DESCRIPTION
ldd is a command that can list the dynamic dependencies of incomplete executable files or shared
libraries.
ldd lists verbose information about dynamic dependencies and symbol references. If the object file is an
executable file, ldd lists all shared libraries that would be loaded as a result of executing the file. If it is
a shared library, ldd lists all shared libraries that would be loaded as a result of loading the library.
ldd uses the same algorithm as the dynamic loader (
/usr/lib/hpux32/dld.so
and
/usr/lib/hpux64/dld.so
) to locate the shared libraries at runtime. See Dynamic Path List in
dld.so (5) for more information.
Options
ldd recognizes the following options:
-d Check reference to data symbols.
-r Check reference to data and code symbols.
-s Display the search path used to locate the shared libraries.
-v Display all dependency relationships.
-y symbol Display the module names where symbol is referenced and also where symbol is
defined.
EXTERNAL INFLUENCES
Environment Variables
ldd uses the following environment variables to locate shared libraries.
LD_LIBRARY_PATH
SHLIB_PATH These environment variables can be used to specify the directories to be searched for
library files at runtime. The value is a colon-separated list of paths of such directories.
For more information, see Dynamic Path List in dld.so (5) or the
+s option in ld (1).
The following internationalization variables affect the execution of
ldd:
LANG Determines the locale category for native language, local customs and coded character set
in the absence of LC_ALL and other LC_* environment variables. If LANG is not
specified or is set to the empty string, a default of C (see lang (5)) is used instead of LANG.
LC_ALL Determines the values for all locale categories and has precedence over LANG and other
LC_* environment variables.
LC_MESSAGES
Determines the locale that should be used to affect the format and contents of diagnostic
messages written to standard error.
LC_NUMERIC Determines the locale category for numeric formatting.
LC_CTYPE Determines the locale category for character handling functions.
NLSPATH Determines the location of message catalogs for the processing of LC_MESSAGES.
If any internationalization variable contains an invalid setting,
ldd behaves as if all internationalization
variables are set to C. See environ (5).
DIAGNOSTICS
ldd prints the record of shared library path names to stdout. The optional list of symbol resolution prob-
lems are printed to stderr.
ldd returns zero when the operation is successful. A non-zero return code indicates that an error
occurred.
HP-UX 11i Version 3: March 2012 1 Hewlett-Packard Company 1

Summary of content (2 pages)