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: 9.5, DB2 9.5, db2setup, Express-C, Gutsy, Hack, libaio-dev, libstdc, Linux, Trick, Ubuntu, Workarround
February 26th, 2008 at 05:01
[...] Ubuntu work-arround for DB2 Express-C [...]
March 14th, 2008 at 16:31
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
March 19th, 2008 at 13:06
very nice web site. My English is not so good, so I do not understandt it well, but it seems very good. Thanks
May 28th, 2008 at 19:20
Thanks! This tip also fixed a similar install error for Sybase ASE 1502 on Ubuntu 8.04 x86-64.
August 26th, 2008 at 22:47
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
September 5th, 2008 at 10:33
is it availible in German?
April 8th, 2009 at 18:25
Thanks! Just solved my problem installing DB2 on openSuse 11!
August 23rd, 2009 at 15:37
Thank for the tips