[其它]安装MyEclipse 5.01出错,有错误信息,高手帮忙看看,在此谢过!

软件和网站开发以及相关技术探讨
回复
mystlynx
帖子: 71
注册时间: 2006-10-28 8:19

[其它]安装MyEclipse 5.01出错,有错误信息,高手帮忙看看,在此谢过!

#1

帖子 mystlynx » 2006-10-29 4:25

我的系统:Ubuntu 6.10 正式版(在VMware里跑)
相关软件:用apt-get安装了Sun JDK 1.5.0.8,命令行编译运行程序正常。用apt-get安装了Eclipse 3.2.1,及一些插件,能正常使用。

用sudo运行MyEclipse.bin安装程序,错误信息如下:
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
nawk: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

Launching installer...

grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/tmp/install.dir.2605/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
mystlynx
帖子: 71
注册时间: 2006-10-28 8:19

自己解决了……

#2

帖子 mystlynx » 2006-10-29 4:52

搜到了一些与此相同的问题,看来现在不少软件有这个问题,而且也不仅是出现在Ubuntu这个套件上,似乎是因为Linux的某些改动造成的。

这是别人安装ColdFusion的解决方法,我用这个方法成功安装了MyEclipse:
http://blog.eshangrao.com/index.php/200 ... dfusion702
rouchee
帖子: 2
注册时间: 2006-11-07 1:54

安装JBuilder2006出现同样错误!!!

#3

帖子 rouchee » 2006-11-14 21:28

Configuring the installer for this system's environment...
nawk: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

Launching installer...

grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/tmp/install.dir.10197/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

二楼的如何解决的啊?我也要装MyEclipse5.0的我。说说具体方法。麻烦
mystlynx
帖子: 71
注册时间: 2006-10-28 8:19

#4

帖子 mystlynx » 2006-11-15 19:53

在终端里运行这两个命令之后再执行.bin文件就行了:

cp MyEclipse-5.0.bin MyEclipse-5.0.bak
cat MyEclipse-5.0.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > MyEclipse-5.0.bin
mystlynx
帖子: 71
注册时间: 2006-10-28 8:19

#5

帖子 mystlynx » 2006-11-16 0:57

最新的5.1版似乎不需要这样做了,直接安装即可。但需要先安装rpm,否则会出错。
jk88811
帖子: 55
注册时间: 2006-02-16 9:42

#6

帖子 jk88811 » 2006-12-07 14:44

我一般都是手动安装的,解压后在Eclipse中链接一下就可以了!
回复