我在 Ubuntu 12.04 中安装 IBM RAD 7.5,但运行时./install
显示
cannot execute binary file.
当我跑步时
chmod +x laucnhpad.sh
./lauchpad.sh
然后又不跑了。
drwxrwxr-x 12 sumeet sumeet 4096 Feb 17 01:01 .
drwxr-xr-x 26 sumeet sumeet 4096 Feb 19 21:52 ..
drwxr-xr-x 2 sumeet sumeet 4096 Nov 9 15:45 about_files
-rwxr-xr-x 1 sumeet sumeet 577 Nov 9 12:45 about.html
drwxr-xr-x 3 sumeet sumeet 4096 Nov 9 15:45 configuration
-rwxr-xr-x 1 sumeet sumeet 2225 Nov 9 15:45 consoleinst.sh
drwxr-xr-x 12 sumeet sumeet 4096 Nov 9 15:45 documentation
drwxr-xr-x 2 sumeet sumeet 4096 Nov 9 15:45 features
-rwxr-xr-x 1 sumeet sumeet 70058 May 9 2010 groupinst
-rwxr-xr-x 1 sumeet sumeet 70058 May 9 2010 groupinstc
-rwxr-xr-x 1 sumeet sumeet 219 Nov 9 15:45 groupinstc.ini
-rwxr-xr-x 1 sumeet sumeet 174 Nov 9 15:45 groupinst.ini
-rwxr-xr-x 1 sumeet sumeet 70058 May 9 2010 install
-rwxr-xr-x 1 sumeet sumeet 70058 May 9 2010 installc
-rwxr-xr-x 1 sumeet sumeet 217 Nov 9 15:45 installc.ini
-rwxr-xr-x 1 sumeet sumeet 172 Nov 9 15:45 install.ini
-rwxr-xr-x 1 sumeet sumeet 265 Nov 9 15:45 install.xml
drwxr-xr-x 4 sumeet sumeet 4096 Nov 9 15:45 jre_6.0.0.sr9_20110208_03
-rwxr-xr-x 1 sumeet sumeet 286876 Nov 9 12:45 libcairo-swt.so
drwxr-xr-x 2 sumeet sumeet 4096 Nov 9 15:45 license
drwxr-xr-x 2 sumeet sumeet 4096 Nov 9 15:45 native
drwxr-xr-x 2 sumeet sumeet 4096 Nov 9 15:45 Offerings
drwxr-xr-x 9 sumeet sumeet 61440 Nov 9 15:45 plugins
-rwxr-xr-x 1 sumeet sumeet 7786 Sep 12 16:59 readme_1.6.1.html
-rwxr-xr-x 1 sumeet sumeet 171 Nov 9 15:45 repository.config
-rwxr-xr-x 1 sumeet sumeet 4620 Nov 9 15:45 repository.xml
-rwxr-xr-x 1 sumeet sumeet 223 Nov 9 15:45 silent-install.ini
drwxr-xr-x 2 sumeet sumeet 4096 Nov 9 15:45 tools
-rwxr-xr-x 1 sumeet sumeet 70058 May 9 2010 userinst
-rwxr-xr-x 1 sumeet sumeet 70058 May 9 2010 userinstc
-rwxr-xr-x 1 sumeet sumeet 221 Nov 9 15:45 userinstc.ini
-rwxr-xr-x 1 sumeet sumeet 176 Nov 9 15:45 userinst.ini
-rwxr-xr-x 1 sumeet sumeet 230 Nov 9 15:45 user-silent-install.ini
sumeet@sumeet:~/agent$ uname -a
Linux sumeet 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:15:33 UTC 2013 i686 i686 i386 GNU/Linux
sumeet@sumeet:~/agent$ file ./install
./install: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped
答案1
您的 Ubuntu 在基于 32 位 Intel 的计算机上运行:
$ uname -a
Linux sumeet 3.5.0-23-generic #35~precise1-Ubuntu SMP 2013 年 1 月 25 日星期五 17:15:33 UTCi686 i686 i386GNU/Linux
但./install
准确地说,它是为另一种处理器架构 PowerPC 编译的:
$ 文件./安装
。/安装:ELF 32 位 MSB 可执行文件,PowerPC 或 cisco 4500,版本 1 (SYSV),动态链接(使用共享库),适用于 GNU/Linux 2.2.5,未剥离
因此您使用了错误的 RAD 包。
我成功地从 Linux 下载了最新版本 (8.5.1)http://www.ibm.com/developerworks/downloads/r/rad/:
我使用了安装管理器方法:
IBMIM_linux.zip
我在HTTP下载选项卡中选择:
它是一个 32 位可执行文件:
$ 文件./安装
安装:ELF 32 位 LSB 可执行文件,Intel 80386,版本 1 (SYSV),动态链接(使用共享库),适用于 GNU/Linux 2.2.5,未剥离