For Linux operating systemFor UNIX operating system

Checking shared library paths

On UNIX and Linux operating systems, Tivoli Netcool/OMNIbus uses shared libraries, that are specified by an environment variable, to provide a smaller total distribution size. If this environment variable is changed, Tivoli Netcool/OMNIbus might not function correctly. You must verify that all the shared libraries can be found.

About this task

The following operating system-specific environment variables are used to specify the location of the shared libraries:
  • For AIX operating systemLIBPATH
  • For Linux operating systemFor Solaris operating
systemLD_LIBRARY_PATH

For AIX operating systemFor Solaris operating
systemTypically, you do not need to check or modify this environment variable setting. However, if another user or application modified the environment variable, Tivoli Netcool/OMNIbus can function incorrectly or fail. In this situation, you must check that all the shared libraries can be found.

Procedure

To check that the shared libraries can be found, run the following command:
  • For AIX operating systemdump -H
  • For Linux operating systemFor Solaris operating
systemldd
These commands list the dynamic dependencies of executable files.

Example

The following table shows how to use these commands to list all the dependencies for all installed binary files that are in the following directory:
  • For
32-bit operating systems$NCHOME/omnibus/platform/arch/bin/
  • For
64-bit operating systems$NCHOME/omnibus/platform/arch/bin64/
Where arch represents the operating system directory.
Table 1. Checking shared library paths
Operating system Command Output description
Solaris and Linux®

For
32-bit operating systemsldd $NCHOME/omnibus/platform/arch/bin/nco_*

For
64-bit operating systemsldd $NCHOME/omnibus/platform/arch/bin64/nco_*

The output of this command lists the dynamic dependencies and indicates which libraries cannot be found.
AIX®

For
32-bit operating systemsdump -H $NCHOME/omnibus/platform/arch/bin/nco_*

For
64-bit operating systemsdump -H $NCHOME/omnibus/platform/arch/bin64/nco_*

The output of this command lists the dynamic dependencies and indicates which libraries cannot be found.