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:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.