Wednesday 4 November 2009

Installing DB2 on Ubuntu 9.10

It seems that ubuntu 9.10 has quite a different set of supporting libraries. As a result, it is not possible to transfer the installation processes from 9.04 to 9.10.
For example, installing DB2 9.7 cannot be done without getting certain libraries before the start.

In my installation, I had to

$ sudo apt-get install libaio-dev

For example, if you try the instalation without this library you will get the following error message:

The required library file libaio.so.1 is not found on the system.

Check the following web site for the up-to-date system requirements
of IBM DB2 9.7
http://www.ibm.com/software/data/db2/udb/sysreqs.html
http://www.software.ibm.com/data/db2/linux/validate
Aborting the current installation ...
Run installation with the option "-f sysreq" parameter to force the installation.

With the aforementioned library in place you can install the product with:

$ sudo ./db2install

1 comment:

  1. even after following your steps, i get this error message. what do i do?
    ERROR:
    The following library files could not be loaded by db2langdir in /home/jenifer2409/exp/disk1/db2/linux/install/../bin

    -> libstdc++.so.5
    -> libstdc++.so.5


    Check the following web site for the up-to-date system requirements
    of IBM DB2 Version 9.1:

    http://www.ibm.com/software/data/db2/udb/sysreqs.html

    Aborting the current installation ...

    ReplyDelete