Install Informix DB in Ubuntu/Linux

When installing Informix DB in an Ubuntu/Linux environment there are 2 ways of doing it. The GUI version and the command line version (when installing in remote servers), we will be looking at both options to get a clear idea on how to install the database.

First download the archive through “http://www.ibm.com/software/data/informix/” (Need to create an IBM acount). We will be using the developer version to avoid licencing for now. After downloading extract the distribution to start the install.

tar xf iif.11.50.FC9DE.linux-x86_64.tar

Installing the database

After extracting the distribution we start the installation;

sudo ./ids_install

This will prompt the feature to launch the GUI or continue in the command line. For this tutorial We will go with the GUI. When you eventually run the installer the terminal will show;

Do you want to run installer in GUI mode [y/n] :n

By selecting “y” you will go onto the GUI installer as follows;

informix_sc6

informix_sc14

Follow the installer while it creates a new user and setup the database with its default configurations; But, when on the non GUI mode (command line mode) following the installer will get the installation done and dusted. The trouble shooting of the setup is the tricky part.

Troubleshooting the setup process

One of the issues the installation might face is the missing dependencies. While running the installation process you might encounter the following issue;

One or more prerequisite system libraries are not installed on your computer. Install libdl.so.2, libcrypt.so.1, libpam.so.0, libstdc++.so.6, libm.so.6, libgcc_s.so.1, libc.so.6, libncurses.so.5 and then restart the IBM Informix installation program.

How to resolve this? update the server and install build-essential

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential

After this step if there are still issues with dependencies there might be an issue with the path of the dependencies; Check the {INFORMIX}/SERVER/Platform.prq where all the paths of the dependencies are mentioned. check the dependencies that are missing and check if the path is correct and correct it.

eg:

The “{INFORMIX}/SERVER/Platform.prq” refers libdl.so.2 path as;

/lib64/libdl.so.2

but, the correct path is

/lib/libdl.so.2

Edit the file to the correct path and the installation will proceed.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.