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

eld(1) OSS Shell and Utilities Reference Manual
1. Locations specified by the current -first_l flag
2. Public libraries (installed by the system operator) ***
3. Locations specified by the current -libvol and -L flags
4. Default locations in the OSS environment when building a 32-bit or neutral object:
/lib:/usr/lib:/usr/local/lib:/G/SYSTEM/ZDLL * **
Default locations in the OSS environment when building a 64-bit object:
/lib64:/usr/lib64:/usr/local/lib64:/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, /usr/local/lib, /lib64, /usr/lib64, and /usr/local/lib64. By default, the value of
COMP_ROOT is null in the OSS environment.
The steps marked by an asterisk (*) are skipped when the -nostdlib or -no_stdlib flag is in effect,
and the steps marked by two asterisks (**) are skipped only when the -bstatic flag is used.
Archive libraries encountered in steps marked by ** are reported as errors.
eld searches in each location for libraries by name. eld tries to open the specified file. If it cannot,
it modifies the supplied value and tries to open a file with the modified name. (Unqualified names
specified in the Guardian file system, /G, are not modified; eld uses only the supplied value.) The
prefix lib and the following suffixes are added to the specified name to create the modified name:
.so To find a DLL, unless the -bstatic ag is in effect
.a To find an archive file, unless the -dllsonly flag is in effect
To find a DLL, the prefix z and the suffix dll are also tried unless the -bstatic flag is in effect.
When the -alf flag is used, the OSS version of eld searches for DLLs in the following locations:
1. Locations specified by the current -first_l flag
2. Locations specified by the current -rld_first_l flag
3. Public libraries (installed by the system operator) *
4. The directory containing the loadfile (which might be a program or a DLL) **
5. The files specified by L
6. Locations specified by the current -rld_l or -rpath flag
7. Default locations when the current loadfile is a 32-bit or neutral loadfile:
/lib:/usr/lib:/usr/local/lib:/G/SYSTEM/ZDLL * **
Default locations when the current loadfile is a 64-bit loadfile:
/lib64:/usr/lib64:/usr/local/lib64:/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, /usr/local/lib, /lib64, /usr/lib64, and /usr/local/lib64. By default, the value of
COMP_ROOT is null in the OSS environment.
The steps marked by an asterisk (*) are skipped when the -nostdlib or -no_stdlib flag is in effect.
When the -limit_runtime_paths flag has been used for the loadfile, the following are omitted
from rlds search:
The steps marked by two asterisks (**) in the previously described search order
378 Hewlett-Packard Company 527188-021