Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
OSS Library Calls (a - d) dlopen(3)
1. Locations specified by -rld_first_l at link time (the value of rpath_first)
2. Public libraries
3. Program location *
4. Locations specified by -rld_l at link time (the value of rpath)
5. Default locations for 32-bit processes: |
For OSS: /lib, /usr/lib, /usr/local/lib, /G/SYSTEM/ZDLL |
For Guardian: $SYSTEM.ZDLL |
Default locations for 64-bit processes: |
For OSS: /lib64, /usr/lib64, /usr/local/lib64, /lib, /usr/lib, /usr/local/lib,|
/G/SYSTEM/YDLL, /G/SYSTEM/ZDLL in this order
Environment Variables and Runtime Searches
At run time, users can modify the path list specified at link time. For OSS programs, the load-
time path lists can be specified using the following environment variables:
_RLD_LIB_PATH=object_pathname[:object_pathname]...
The specified paths are to be searched before the default locations.
_RLD_FIRST_LIB_PATH=object_pathname[:object_pathname]...
The specified paths are to be searched before the public libraries and linker-
specified places.
For Guardian programs, the class SEARCH DEFINEs =_RLD_LIB_PATH and
=_RLD_FIRST_LIB_PATH correspond to these environment variables. For these DEFINEs, the
set of path list elements is specified in order by:
1. the subvolume (or parenthesized list of subvolumes) in the SUBVOL0 attribute
2. the subvolume (or parenthesized list of subvolumes) in the RELSUBVOL0 attribute
3. and so on for SUBVOL1, RELSUBVOL1, ..., SUBVOL20, RELSUBVOL20, ignoring
any absent attributes
See the Guardian Procedure Calls Reference Manual for more information about these
DEFINEs.
When run-time options are used, the search path list becomes:
1. Locations specified by _RLD_FIRST_LIB_PATH at load time *
2. Locations specified by -rld_first_l at link time (the value of rpath_first)
3. Public libraries
4. Program location *
5. Locations specified by _RLD_LIB_PATH at load time *
6. Locations specified by -rld_l at link time (the value of rpath)
7. Default locations for 32-bit processes: |
For OSS: /lib, /usr/lib, /usr/local/lib, /G/SYSTEM/ZDLL |
For Guardian: $SYSTEM.ZDLL |
Default locations for 64-bit processes: |
527187-017
He
wlett-Packard Company 1−197