Configuring IBM Communications Server for Linux
Communications Server for Linux® requires a number of environment variables to be defined.
You need to set these environment variables:
- LD_LIBRARY_PATH
- A list of directory names, separated by colons, containing the dynamically linked libraries that are to be used when the program is run.
- LD_RUN_PATH
- A list of directory names, separated by colons, containing the dynamically linked libraries that are to be used when the program is link edited,
- LD_PRELOAD
- The name of a shared library object that is to be loaded before any other shared libraries are searched.
Refer to the README file supplied with the SNA product and ensure
that all variables are correctly set, including LD_PRELOAD.
It is recommended that you set LD_PRELOAD in
ctgd.conf so that the library is only loaded for the Client daemon
process. The LD_PRELOAD environment variable
must be set to a 32-bit shared object to allow the 32-bit Client daemon
process to communicate with the SNA product. Read the man page for ld.so for
information about security issues associated with LD variables.
To ensure that messages can be written to error logs, the user
who starts the Client daemon process must be a member of the sna
group.
Using IBM Communications Server for Linux Remote API client V6.3
IBM® Communications
Server for Linux Remote API
Client V6.3 and later does not require the LD_PRELOAD environment
variable of the Linux streams
(LiS) library. To stop the Client daemon generating warning CCL4678W,
set LD_PRELOAD to an empty string, for example:
export LD_PRELOAD=""