Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

User Commands (k - l) ld(1)
2. Public libraries (installed by the system operator) ***
3. Locations specied by the current -libvol and -L ags
4. Default locations in the OSS environment:
/lib:/usr/lib:/usr/local/lib:/G/SYSTEM/ZDLL *
The value of the COMP_ROOT environment variable is added to the beginning of /lib,
/usr/lib, and /usr/local/lib. By default, the value of COMP_ROOT is null in the OSS
environment.
5. Default locations in the Guardian environment: $SYSTEM.ZDLL ***
The steps marked by an asterisk (*) are skipped when the -nostdlib or -no_stdlib ag is in effect,
and the steps marked by two asterisks (**) are skipped only when the -bstatic ag is used.
Archive libraries encountered in steps marked by ** are reported as errors.
ld searches in each location for libraries by le name, based upon whether the specied le name
is a simple name. (A simple name is an OSS pathname without any directory components.) If
the specied le name is not a simple name, ld tries to open the specied le.
If the specied lename is a simple name, ld tries to open the specied le; if it cannot, it
modies the supplied value and tries to open a le with the modied name. (Simple names
specied in the Guardian le system, /G, are not modied; ld uses only the supplied value.) The
prex lib and the following sufxes are added to the specied name to create the modied name:
.so To nd a DLL, unless the -bstatic ag is in effect
.srl To nd a shared runtime library (SRL), unless the -bstatic ag is in effect
.a To nd an archive le, unless the -dllsonly ag is in effect
The OSS version of rld searches for DLLs and archive les in the following locations:
1. Locations specied by the current -rld_rst_l ag
2. Public libraries (installed by the system operator)
3. Program location *
4. Locations specied by the current -rld_l ag
5. Default locations:
On OSS: /lib:/usr/lib:/usr/local/lib:/G/SYSTEM/ZDLL
On Guardian: $SYSTEM.ZDLL *
The value of the COMP_ROOT environment variable is added to the beginning of /lib,
/usr/lib, and /usr/local/lib. By default, the value of COMP_ROOT is null in the OSS
environment.
When the -limit_runtime_paths ag has been used for the loadle, the following are omitted
from the search:
The steps marked by an asterisk (*) in the previously described search order
Paths indicated by the TACL DEFINEs _RLD_FIRST_LIB_PATH and
_RLD_LIB_PATH.
527188-003 Hewlett-Packard Company 545