/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

----------------------------------------------------------------------------------------------

yum install glibc.i686
yum install libstdc++.so.6

----------------------------------------------------------------------------------------------
[root@k8s-node-01 zwf]# ll
total 258620
drwxrwsr-x 9  100 users       267 Feb 19  2015 eclipse
-rwxrwxrwx 1 root root  264825580 Sep  1 07:30 eclipse-jee-luna-SR2-linux-gtk.tar.gz
drwxrwxrwx 2 root root          6 Sep  1 07:31 eclipse_workspace
drwxrwxrwx 8 root root        255 Sep  1 07:44 jdk1.8.0_45
[root@k8s-node-01 zwf]# 
[root@k8s-node-01 zwf]# cd eclipse
[root@k8s-node-01 eclipse]# 
[root@k8s-node-01 eclipse]# ll
total 600
drwxrwsr-x   2 100 users    104 Feb 19  2015 about_files
-rw-rw-r--   1 100 users  19877 Feb  5  2015 about.html
-rw-rw-r--   1 100 users 253943 Feb 19  2015 artifacts.xml
drwxrwsr-x   4 100 users     96 Feb 19  2015 configuration
drwxrwsr-x   2 100 users      6 Feb 19  2015 dropins
-rwxr-xr-x   1 100 users  66618 Jan 28  2015 eclipse
-rw-rw-r--   1 100 users    441 Feb 19  2015 eclipse.ini
-rw-rw-r--   1 100 users  12638 Jan 28  2015 epl-v10.html
drwxrwsr-x 163 100 users  12288 Feb 19  2015 features
-rwxr-xr-x   1 100 users 140566 Feb  5  2015 icon.xpm
-rw-rw-r--   1 100 users   9013 Jan 28  2015 notice.html
drwxrwsr-x   4 100 users     78 Feb 19  2015 p2
drwxrwsr-x  20 100 users  61440 Feb 19  2015 plugins
drwxrwsr-x   2 100 users     33 Feb 19  2015 readme
[root@k8s-node-01 eclipse]# 
[root@k8s-node-01 eclipse]# ./eclipse 
bash: ./eclipse: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
[root@k8s-node-01 eclipse]# yum install glibc.i686
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.bupt.edu.cn
 * extras: mirrors.bupt.edu.cn
 * updates: mirrors.bupt.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package glibc.i686 0:2.17-326.el7_9 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.17-326.el7_9.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.17-326.el7_9.i686
--> Running transaction check
---> Package nss-softokn-freebl.i686 0:3.67.0-3.el7_9 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================================================
 Package                                          Arch                               Version                                         Repository                             Size
=================================================================================================================================================================================
Installing:
 glibc                                            i686                               2.17-326.el7_9                                  updates                               4.3 M
Installing for dependencies:
 nss-softokn-freebl                               i686                               3.67.0-3.el7_9                                  updates                               325 k

Transaction Summary
=================================================================================================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 4.6 M
Installed size: 15 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): nss-softokn-freebl-3.67.0-3.el7_9.i686.rpm                                                                                                         | 325 kB  00:00:00     
(2/2): glibc-2.17-326.el7_9.i686.rpm                                                                                                                      | 4.3 MB  00:00:01     
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                            3.0 MB/s | 4.6 MB  00:00:01     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
tagsoup-1.2.1-8.el7.noarch has missing requires of jpackage-utils
tagsoup-1.2.1-8.el7.noarch has missing requires of jpackage-utils >= ('0', '1.6', None)
  Installing : glibc-2.17-326.el7_9.i686                                                                                                                                     1/2 
  Installing : nss-softokn-freebl-3.67.0-3.el7_9.i686                                                                                                                        2/2 
  Verifying  : nss-softokn-freebl-3.67.0-3.el7_9.i686                                                                                                                        1/2 
  Verifying  : glibc-2.17-326.el7_9.i686                                                                                                                                     2/2 

Installed:
  glibc.i686 0:2.17-326.el7_9                                                                                                                                                    

Dependency Installed:
  nss-softokn-freebl.i686 0:3.67.0-3.el7_9                                                                                                                                       

Complete!

[root@k8s-node-01 eclipse]# 
[root@k8s-node-01 eclipse]# yum install libstdc++.so.6
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.bupt.edu.cn
 * extras: mirrors.bupt.edu.cn
 * updates: mirrors.bupt.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package libstdc++.i686 0:4.8.5-44.el7 will be installed
--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.8.5-44.el7.i686
--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.8.5-44.el7.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.8.5-44.el7.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.8.5-44.el7.i686
--> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.8.5-44.el7.i686
--> Running transaction check
---> Package libgcc.i686 0:4.8.5-44.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================================================
 Package                                     Arch                                   Version                                         Repository                              Size
=================================================================================================================================================================================
Installing:
 libstdc++                                   i686                                   4.8.5-44.el7                                    base                                   319 k
Installing for dependencies:
 libgcc                                      i686                                   4.8.5-44.el7                                    base                                   111 k

Transaction Summary
=================================================================================================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 429 k
Installed size: 1.2 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): libgcc-4.8.5-44.el7.i686.rpm                                                                                                                       | 111 kB  00:00:00     
(2/2): libstdc++-4.8.5-44.el7.i686.rpm                                                                                                                    | 319 kB  00:00:00     
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                            777 kB/s | 429 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : libgcc-4.8.5-44.el7.i686                                                                                                                                      1/2 
  Installing : libstdc++-4.8.5-44.el7.i686                                                                                                                                   2/2 
  Verifying  : libstdc++-4.8.5-44.el7.i686                                                                                                                                   1/2 
  Verifying  : libgcc-4.8.5-44.el7.i686                                                                                                                                      2/2 

Installed:
  libstdc++.i686 0:4.8.5-44.el7                                                                                                                                                  

Dependency Installed:
  libgcc.i686 0:4.8.5-44.el7                                                                                                                                                     

Complete!
[root@k8s-node-01 eclipse]# 


[root@k8s-node-01 eclipse]# ./eclipse 
Eclipse:
A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. 
No Java virtual machine was found after searching the following locations:
/zwf/eclipse/jre/bin/java
java in your current PATH
[root@k8s-node-01 eclipse]# 

你可能感兴趣的:(eclipse,linux)