Installing Informix Client SDK on RHEL/CentOS

As for Informix user, you have to jump through a lot of hoops since it has become a dinosaur and due to the lack of support from IBM.

I prefer PHP to Perl in writing a shell program and connecting Informix was full of wonder. I still don’t understand why IBM keeps insisting that a simple Informix db library has to look for SDK. It is just heart-wrenching but it is what it is, I guess.

First off, installing Informix client sdk itself turned out to be pretty daunting task. Nothing is out of box but I wasn’t prepared enough.

Downloading Informix Client SDK from IBM website (it’s not easy to navigate to find what you need — this is another challenge).

Here’s the issues I faced:
Exception “JRE libraries are missing or not compatible” occurs while installing Content Platform Engine 5.2.1 on Linux

Preparing to install…
Extracting the JRE from the installer archive…
Unpacking the JRE…
Extracting the installation resources from the installer archive…
Configuring the installer for this system’s environment…
Launching installer…
JRE libraries are missing or not compatible….
Exiting….

It is casued by ld-linux.so.2 library is missing on Linux.
To resolve The Problem, install it with following command:
$ yum install ld-linux.so.2

And another cause is insufficient permissions in the /tmp directory. In environments where obtaining the required permissions may not be straightforward due to how the server is locked down, security policies, etc., there is a simple workaround. You need to create a new “temp” directory in a location where you do have the proper permissions.

Example:
$ mkdir /opt/informix/tmp
$ export IATEMPDIR=/opt/informix/tmp

(You have to apply this command if you terminate the session).

Thanks to this link: https://www.coreblox.com/blog/2018/2/ca-access-gateway-install-error-jre-libraries-are-missing-or-not-compatible

I faced additional issue with another server:

“One or more prerequisite system libraries are not installed on your computer.
Install libncurses.so.5 and then restart the IBM Informix installation
program.”

In this case, you need to install
$ yum install libncurses*

Leave a comment