When attempting to start the Gateway daemon on a 64-bit Linux operating system, startup might fail with the following error:
[root@myhost]# ctgstart
cicscli: error while loading shared libraries: libncurses.so.5:
cannot open shared object file: No such file or directory
cicscli: error while loading shared libraries: libncurses.so.5:
cannot open shared object file: No such file or directory
ctgstart - CICS Transaction Gateway start program
(C) Copyright IBM Corporation 1996, 2011. All rights reserved.
06/14/11 10:20:44:399 [0] CTG6400I CICS Transaction Gateway
is starting
06/14/11 10:20:44:399 [1] CTG6765E The Gateway daemon is unable
to load the CICS TG JNI native library DLL libctgjni.so; the
reason for the load failure is : 'ctgjni (libncurses.so.5:
cannot open shared object file: No such file or directory)'
06/14/11 10:20:44:402 [0] CTG6511I Gateway daemon has shut down
cicscli: error while loading shared libraries: libncurses.so.5:
cannot open shared object file: No such file or directory
The 32-bit ncurses-lib package is not installed on the machine.
Install the 32-bit ncurses-lib Linux package for your distribution; the Gateway daemon should now start successfully.