When running db2setup, after extracting the archive you downloaded, you may be disappointed to see that on Ubuntu the setup program gives you the following error right out of the box:
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. Here is a handy tip, just in case you get stuck with this error. You can install the prerequisites and run the DB2 setup program simply by executing the three commands below (in order).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.
$sudo apt-get install libstdc++5 $sudo apt-get install libaio-dev $sudo ./db2setup
No comments:
Post a Comment