Install DB2 v9.5 in Ubuntu10.x

Source: Internet
Author: User

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://up.2cto.com/2012/0312/20120312102512573.rar 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 to enter DB2 Setup Wizard.

Basically, there will be no problems.


Author iihero

Related Article

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.