Search code examples
dockerinformix

Installing Informix CSDK in an Ubuntu Docker container


I'm trying to install ibm.csdk.4.50.FC3.LNX in a Docker container based on Ubuntu 18.

I run in the container the installation file as follows:

root@mycontainer:/usr/src/ibm.csdk.4.50.FC3.LNX# ./installclientsdk -i console

But I get this error:

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.

The installation cannot succeed until the minimum requirements are met. For more information about the prerequisites, see your Installation Guide or check with your System Administrator.

However those files are already in the container in the following paths:

/lib/x86_64-linux-gnu/libdl.so.2
/lib/x86_64-linux-gnu/libcrypt.so.1
/lib/x86_64-linux-gnu/libpam.so.0
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
/lib/x86_64-linux-gnu/libm.so.6
/lib/x86_64-linux-gnu/libgcc_s.so.1
/lib/x86_64-linux-gnu/libc.so.6
/lib/x86_64-linux-gnu/libncurses.so.5

How can I install it?


Solution

  • Running apt install unixodbc-dev seems fixing.

    You might want to install also unixodbc