2011年8月6日 星期六

Ubuntu下安裝DB2 Express-C

# ./db2setup
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.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.






需先安裝:
sudo apt-get install libaio-dev

ref:
http://packages.ubuntu.com/zh-tw/natty/libaio-dev
This library enables userspace to use Linux kernel asynchronous I/O system calls, important for the performance of databases and other advanced applications.


p.s.聽說安裝Oracle資料庫前也需安裝