LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1112|回复: 5

can't install j2ee

[复制链接]
发表于 2004-10-14 11:00:02 | 显示全部楼层 |阅读模式
hello,everyone:
   i want to install the j2ee in my linux system(fedora2),but when i extract the .bin file,there is some error messege to display:
[root@localhost Downloads]# ./j2eesdk-1_4_2004Q4-beta-linux.bin
./j2eesdk-1_4_2004Q4-beta-linux.bin: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory

why this can be showed , i am not understand this ,hope someone can help me .
发表于 2004-10-14 13:08:23 | 显示全部楼层
you need to install libstdc++, i think ,
 楼主| 发表于 2004-10-17 11:53:29 | 显示全部楼层
I have installed libstdc++,there is the result of rpm query:
[root@localhost RPMS]# rpm -qa | grep libstdc++
libstdc++-3.3.3-7
libstdc++-devel-3.3.3-7

I don't know why?need help!
 楼主| 发表于 2004-10-17 12:24:51 | 显示全部楼层
I have solve my trouble, I made a soft symbol link to my
libstdc++.so.5.0.5 as libstdc++-libc6.2-2.so.3 ,now it's ok
and i hve installed the j2ee eventually successfully!

Thank you!
发表于 2004-10-17 13:28:04 | 显示全部楼层
最初由 jackk294 发表
I have solve my trouble, I made a soft symbol link to my
libstdc++.so.5.0.5 as libstdc++-libc6.2-2.so.3 ,now it's ok
and i hve installed the j2ee eventually successfully!

Thank you!

这只是安装成功了(实际上是系统骗过了安装程序)。。。不能保证能正常使用。。。
还是查清楚它属于哪个包。。。
我估计是在一些老的c++库中。。。我在redhat中安装了所有的 compat-*包,并没有这个提示。。。
发表于 2004-10-17 14:54:04 | 显示全部楼层
查出来了。。。是在libstdc++2.10-dev(debian)中,老的gcc-2.95,cpp-2.95所用的库,redhat,mdk中应该是compat-*
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表