
l
ldd(1) | ldd(1) |
NAME
ldd - list dynamic dependencies of executable ®les or shared libraries
SYNOPSIS
ldd
DESCRIPTION
ldd is a command that can list the dynamic dependencies of incomplete executable ®les or shared libraries.
ldd lists verbose information about dynamic dependencies and symbol references. If the object ®le is an executable ®le, ldd lists all shared libraries that would be loaded as a result of executing the ®le. 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 at runtime. See "Dynamic Path List" in dld.sl(5) for more information.
Options
ldd recognizes the following options:
EXTERNAL INFLUENCES
Environment Variables
ldd uses the following environment variables to locate shared libraries.
LD_LIBRARY_PATH
SHLIB_PATH
A
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 speci®ed 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).
Section 1−440 | − 1 − |