rld Manual
RLD Overview
RLD Manual—528857-006
1-8
Complete Loader Path List
add define=_RLD_FIRST_LIB_PATH, class search, subvol0
$data05.testdlls
Complete Loader Path List
The complete set of places for rld to look for an unqualified library name is as follows:
Locations specified by _RLD_FIRST_LIB_PATH at load time*
Locations specified by -RLD_first_L at link time (rpath_first)
Public libraries
The program's location*
Locations specified by _RLD_LIB_PATH at load time*
Locations specified by -RLD_L at link time (rpath)
Default locations for a 32-bit process:
For OSS: /lib, /usr/lib, /usr/local/lib, /G/SYSTEM/ZDLL
For Guardian: $SYSTEM.ZDLL
Default locations for a 64-bit process:
For OSS: /lib64, /usr/lib64, /usr/local/lib64, /lib, /usr/lib, /usr/local/lib,
/G/SYSTEM/YDLL, /G/SYSTEM/ZDLL, in that order
Note:
When rld finds a DLL that is not compatible with the data model of the
program being loaded, it ignores the DLL, reports a warning, and continues
to search in remaining locations.
The asterisked (*) items are omitted from the complete loader path list if
the main program was linked using the linker option -
limit_runtime_paths.
Unresolved Symbols
Users can specify an option to the linker to control rld's treatment of unresolved
symbols in a loadfile. The option is stored in each loadfile and determines whether the
runtime linker generates warnings or errors when it encounters unresolved procedure
references in that loadfile.
For unresolved data symbols, the runtime linker always reports an error and fails to
run.
For unresolved procedure symbols, the options are as follows:
Report an error; this is the default set by the linker.
Report a warning for references to unresolved procedures and run the program.