Ubuntu 7.10 Gutsy Workarround for IBM DB2 Express-C

Some users are getting the following error when installing DB2 Express-C in Ubuntu 7.10

ERROR:
The required library file libstdc++.so.5 is not found on the system.
ERROR:
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.5
http://www.ibm.com/software/data/db2/udb/sysreqs.html
http://www.software.ibm.com/data/db2/linux/validate
/home/antonio/Desktop/exp/db2/linux/install/../bin/db2usrinf:
error while loading shared libraries: libstdc++.so.5:
cannot open shared object file: No such file or directory
[: 609: 0: unexpected operator
/home/antonio/Desktop/exp/db2/linux/install/../bin/db2langdir:
error while loading shared libraries: libstdc++.so.5:
cannot open shared object file: No such file or directory
/home/antonio/Desktop/exp/db2/linux/install/../bin/db2langdir:
error while loading shared libraries: libstdc++.so.5:
cannot open shared object file: No such file or directory
DBI1055E The message file db2install.cat cannot be found.

Explanation: The message file required by this
script is missing from the system; it may have been
deleted or the database products may have been loaded
incorrectly.

User Response: Verify that the product option containing
the message file is installed correctly. If there are
verification errors; reinstall the product option.

To fix this you only need to get libstdc++5.
Just put this 3 lines in your console and your ready to go. :)

sudo apt-get install libstdc++5
sudo apt-get install libaio-dev
sudo ./db2setup

Tags: , , , , , , , , , , ,

8 Responses to “Ubuntu 7.10 Gutsy Workarround for IBM DB2 Express-C”

  1. METS Standard with IBM DB2 Express C using XForms as user-interface and Ruby on Rails as a Rest Web-services « .$null@dscape/08 Says:

    [...] Ubuntu work-arround for DB2 Express-C [...]

  2. Mohnish Says:

    The required packages are libaio1, ksh and libstdc++5. For details please refer, http://www-306.ibm.com/software/data/db2/linux/validate/ubuntu710_v95.html

  3. Au Pair Says:

    very nice web site. My English is not so good, so I do not understandt it well, but it seems very good. Thanks

  4. sybase Says:

    Thanks! This tip also fixed a similar install error for Sybase ASE 1502 on Ubuntu 8.04 x86-64.

  5. Mads Says:

    Thanks… that solved my problem.. could not find libaio1 anywhere, but it was automatically installed with the execution of sudo apt-get install libaio-dev… thanks again

  6. lsi Says:

    is it availible in German?

  7. John Says:

    Thanks! Just solved my problem installing DB2 on openSuse 11!

  8. Stéphane J. Says:

    Thank for the tips :)

Leave a Reply