ldd_pa.1 (2011 09)

l
ldd_pa(1)
PA-RISC Systems Only
ldd_pa(1)
NAME
ldd_pa: ldd - list dynamic dependencies of executable files or shared libraries on PA-RISC systems
SYNOPSIS
ldd [-b][-d][
-r][-s][-v][-y symbol] filename ...
Remarks
This manpage describes
ldd on PA-RISC systems. For
ldd on Integrity systems, see ldd_ia (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/dld.sl
and
/usr/lib/pa20_64/dld.sl
) to locate the shared libraries. See PA-RISC 32-bit Dynamic Path List ,
PA-RISC 64-bit Dynamic Path List , and The LD_PRELOAD Environment Variable sections in dld.sl (5)
for more information.
Options
ldd recognizes the following options:
-b PA-RISC 32-bit only. Used in conjunction with -d and/or
-r to 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.
-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
PA-RISC 64-bit mode: A colon-separated list of path names which defines the search path
for shared libraries at runtime. See PA-RISC 64-bit Dynamic Path List in dld.sl (5) for
more information.
LD_PRELOAD A colon-separated or space-separated list of libraries which the dynamic loader implicitly
loads first at runtime. See The LD_PRELOAD Environment Variable in dld.sl (5) for
more information.
SHLIB_PATH A colon-separated list of path names which defines the search path for shared libraries at
runtime. See PA-RISC 32-bit Dynamic Path List and PA-RISC 64-bit Dynamic Path List
in dld.sl (5) for more information.
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.
HP-UX 11i Version 3: September 2011 1 Hewlett-Packard Company 1

Summary of content (4 pages)