免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 6640 | 回复: 13
打印 上一主题 下一主题

linux EL4(update5)安装DB2提示libstdc++.so.5不能load的问题,在线等!!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-11-12 11:09 |只看该作者 |倒序浏览
服务器为IBM,64位.

[root@x3250 disk1]# cat /etc/issue
Red Hat Enterprise Linux AS release 4 (Nahant Update 5)
Kernel \r on an \m

[root@x3250 disk1]# rpm -qa|grep libaio
libaio-0.3.105-2
[root@x3250 disk1]# rpm -qa|grep compat-libstdc++
compat-libstdc++-7.3-2.96.118
compat-libstdc++-33-3.2.3-47.3
[root@x3250 disk1]# rpm -qa|grep gcc
libgcc-3.4.6-8
compat-libgcc-296-2.96-132.7.2
libgcc-3.4.6-8

[root@x3250 lib]# ll |grep libstdc++.so.
lrwxrwxrwx    1 root root       20 11月 10 16:59 libstdc++.so.2.7.2 -> libstdc++.so.2.7.2.8
-rwxr-xr-x    1 root root  1025339 2003-02-12  libstdc++.so.2.7.2.8
lrwxrwxrwx    1 root root       18 11月 10 16:59 libstdc++.so.2.8 -> libstdc++.so.2.8.0
-rwxr-xr-x    1 root root   375773 2003-02-12  libstdc++.so.2.8.0
lrwxrwxrwx    1 root root       22 11月 10 16:59 libstdc++.so.2.9 -> libstdc++.so.2.9.dummy
-rwxr-xr-x    1 root root     5428 2003-02-12  libstdc++.so.2.9.dummy
lrwxrwxrwx    1 root root       18 11月 10 17:01 libstdc++.so.5 -> libstdc++.so.5.0.7
-rwxr-xr-x    1 root root        0 11月 12 11:08 libstdc++.so.5.0.7
[root@x3250 lib]#


安装时,却提示:
[root@x3250 disk1]# ./db2_install

ERROR:
  The following library files could not be loaded by db2langdir in /root/local/exp/disk1/db2/linuxamd64/install/../bin

   ->  libstdc++.so.5
   ->  libstdc++.so.5


  Check the following web site for the up-to-date system requirements
  of IBM DB2 Version 9.1:

      http://www.ibm.com/software/data/db2/udb/sysreqs.html

  Aborting the current installation ...


这是什么原因呢,请大家多多帮忙,在线急等.TKS!

论坛徽章:
0
2 [报告]
发表于 2007-11-12 13:29 |只看该作者
是不是在图形下安装的linux,而且选了很多东西安装?

论坛徽章:
0
3 [报告]
发表于 2007-11-12 13:58 |只看该作者
多谢,huyuhui001
装了X-window,但没在图形下装.新装的机,就只装了TOMCAT,JDK.

是不是问题在这里,这个文件
-rwxr-xr-x    1 root root        0 11月 12 11:08 libstdc++.so.5.0.7
字节数为0
刚才改装ORACLE提示这个文件为空.

论坛徽章:
0
4 [报告]
发表于 2007-11-12 15:20 |只看该作者
DB2,悬而未决,再研究去,
ORACLE装好了.

论坛徽章:
0
5 [报告]
发表于 2007-11-12 16:18 |只看该作者
1.5的JDK的环境下安装DB2 V9好像有问题。

论坛徽章:
0
6 [报告]
发表于 2007-11-12 23:07 |只看该作者
C编译器的软件包没有安装,装上就可以了。上面的错误跟JDK没有关系。

论坛徽章:
0
7 [报告]
发表于 2007-11-12 23:11 |只看该作者
上面的是x86_64的Linux的错误,如果是POWER CPU的Linux,提示的文件是ibmlibc,需要安装的是IBM的C编译器。

论坛徽章:
0
8 [报告]
发表于 2007-11-13 18:52 |只看该作者
[root@x3250 disk1]# rpm -qa|grep gcc
gcc-3.4.6-8
libgcc-3.4.6-8
compat-libgcc-296-2.96-132.7.2
libgcc-3.4.6-8
[root@x3250 disk1]# ./db2_install

ERROR:
  The following library files could not be loaded by db2langdir in /root/local/exp/disk1/db2/linuxamd64/install/../bin

   ->  libstdc++.so.5
   ->  libstdc++.so.5


  Check the following web site for the up-to-date system requirements
  of IBM DB2 Version 9.1:

      http://www.ibm.com/software/data/db2/udb/sysreqs.html

  Aborting the current installation ...
[root@x3250 disk1]#

还是不行啊,
是不是有包没装全,
谢谢lklgdkp

论坛徽章:
0
9 [报告]
发表于 2007-11-14 08:07 |只看该作者
你的是AMD的x86_64,检查你的C编译器是32位还是64位的。我记得要装一个什么版本的包就可以,上班上不了CU, 我会继续回复你这个贴的。

论坛徽章:
0
10 [报告]
发表于 2007-11-14 08:10 |只看该作者
好像是这个compat-libstdc++-33。
你可以去IBM的论坛看看就能找到解决办法,那里有很多贴都是说这个问题。
http://www.ibm.com/developerworks/forums/forum.jspa?forumID=291
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP