Install DB2 v9.5 in ubuntu10.x

Source: Internet
Author: User
Tags db2

I used ubuntu9.0.4 in the past. It was very easy to install DB2 v9.5. There was no problem along the way.

This is a bad situation. After Ubuntu is upgraded to 10.04, libstdc ++. so.5 is missing, and only. so.6 is in the system,

If you use apt-Get intall libstdc ++ 5, the installation package cannot be found. However, you can only search online, but you haven't found any download source for half a day.

Last in http://ishare.iask.sina.com.cn/f/14409917.html? Retcode = 0.

Add the following steps:

1. dpkg-x libstdc ++ 5_3.3.6-10_i386.deb libstdc ++ 5 CD libstdc ++ 5/usr/lib MV */usr/lib The result is as follows: Root @ linux11:/usr/lib # ls-Al libstdc ++ *
Lrwxrwxrwx 1 Root 18 libstdc ++. so.5-> libstdc ++. so.5.0.7
-RW-r -- 1 Root 737496 2005-10-26 20:25 libstdc ++. so.5.0.7
Lrwxrwxrwx 1 Root 19 2010-11-26 00:02 libstdc ++. so.6-> libstdc ++. so.6.0.14
-RW-r -- 1 Root 930044 2010-09-28 05:01 libstdc ++. so.6.0.14 Supplemental installation of gcc-3.3-base and OpenSSH, rsh-Server: Http://free.nchc.org.tw/ubuntu//pool/universe/g/gcc-3.3/gcc-3.3-base_3.3.6-15ubuntu4_i386.deb wget-C Dpkg-I gcc-3.3-base_3.3.6-15ubuntu4_i386.deb apt-Get install OpenSSH-server

export db2uselocaljre = Yes
3. run db2setup to start installation, select install a product, after entering DB2 Setup Wizard

, there are basically no problems.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.