Preparing RHEL 5 Systems for CICS Transaction Gateway

Technote (troubleshooting)


Problem(Abstract)

The default installation of RHEL 5 distributions does not include all the shared objects required to run CICS Transaction Gateway.

Symptom

The Gateway daemon fails to start and returns the message:

CTG6765E The Gateway daemon is unable to find the CICS TG JNI native library DLL libctgjni.so

Cause

The Gateway daemon fails to start because the libctgjni.so file requires /usr/lib/libstdc++.so.5 to be available. The 32-bit version of the rpm package compat-libstdc++-33-3.2.3 is not installed by default in a Linux installation.

Diagnosing the problem

Start the Gateway daemon with trace enabled, issue the command:

ctgstart -x

Inspect the output, look for message CTG6765E followed by trace message "java.lang.UnsatisfiedLinkError: ctgjni (libstdc++.so.5: cannot open shared object file: No such file or directory)".

Query the operating system to determine if the 32-bit C++ compatibility package is installed, run the following command:
rpm -ql `rpm -qa | grep compat-libstdc++-33`

If /usr/lib/libstdc++.so.5 is not listed in the output the 32-bit C++ compatibility package must be installed.


Resolving the problem

Install package compat-libstdc++-33-3.2.3-47 or later.

Rate this page:

(0 users)Average rating

Document information


More support for:

CICS Transaction Gateway
Installation

Software version:

7.1, 7.2, 8.0, 9.0

Operating system(s):

Linux

Software edition:

All, Desktop Edition

Reference #:

1329000

Modified date:

2012-11-27

Translate my page

Machine Translation

Content navigation