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

cow977發表於2014-08-05
RHEL 6.4 X64系統,安裝HDLM多路徑軟體,報如題錯誤。

[root@I05-DB-SRV01 ~]# mount -o loop /u01/software/DLMGLM_076001.iso /mnt
[root@I05-DB-SRV01 ~]# cd /mnt
[root@I05-DB-SRV01 mnt]# ll
總用量 110
-r-xr-xr-x.  1 root root    67 10月  6 2011 Autorun.inf
-r--r--r--.  1 root root   900 10月  2 2013 Contents_list.txt
-r-xr-xr-x.  1 root sys  72370 10月  6 2011 hcmdslicense2
drwxr-s--x.  5 root sys   2048 9月   3 2013 HDLM_AIX
drwxr-xr-x.  6 root root  2048 9月  15 2013 HDLM_Linux
drwxrwxrwx.  7 root bin   2048 9月   9 2013 HDLM_Solaris
drwxr-xr-x.  4 root root  2048 9月   3 2013 HDLM_VMware
drwxrwxrwx.  8 root root  4096 10月  2 2013 HDLM_Windows
drwxr-xr-x. 10 root root  4096 9月   5 2013 HGLM
-r--r--r--.  1 root root   642 10月  6 2011 index.html
-r-x------.  1 root sys   7730 12月  6 2012 installux.sh
dr-xr-xr-x.  2 root root 10240 10月  6 2011 PSP
dr-xr-xr-x.  9 root root  2048 10月  3 2013 rr_moved
[root@I05-DB-SRV01 mnt]# ./installux.sh 
KAPL09210-I installhdlm will now start.
/mnt/HDLM_Linux/installhdlm: /mnt/HDLM_Linux/bin/installhdlm: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
KAPL09212-E installhdlm ended abnormally.


原因是缺少32位包:libstdc++
[root@I05-DB-SRV01 mnt]# yum install libstdc++
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Package libstdc++-4.4.7-3.el6.x86_64 already installed and latest version
Nothing to do


[root@I05-DB-SRV01 mnt]# yum install libstdc++-4.4.7-3.el6.i686
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Resolving Dependencies
--&gt Running transaction check
---&gt Package libstdc++.i686 0:4.4.7-3.el6 will be installed
--&gt Processing Dependency: libm.so.6(GLIBC_2.0) for package: libstdc++-4.4.7-3.el6.i686
--&gt Processing Dependency: libm.so.6 for package: libstdc++-4.4.7-3.el6.i686
--&gt Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.4.7-3.el6.i686
--&gt Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.4.7-3.el6.i686
--&gt Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.4.7-3.el6.i686
--&gt Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.4.7-3.el6.i686
--&gt Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.4.7-3.el6.i686
--&gt Processing Dependency: libc.so.6(GLIBC_2.4) for package: libstdc++-4.4.7-3.el6.i686
--&gt Processing Dependency: libc.so.6(GLIBC_2.3.2) for package: libstdc++-4.4.7-3.el6.i686
--&gt Processing Dependency: libc.so.6(GLIBC_2.3) for package: libstdc++-4.4.7-3.el6.i686
--&gt Processing Dependency: libc.so.6(GLIBC_2.2) for package: libstdc++-4.4.7-3.el6.i686
--&gt Processing Dependency: libc.so.6(GLIBC_2.1.3) for package: libstdc++-4.4.7-3.el6.i686
--&gt Processing Dependency: libc.so.6(GLIBC_2.1) for package: libstdc++-4.4.7-3.el6.i686
--&gt Processing Dependency: libc.so.6(GLIBC_2.0) for package: libstdc++-4.4.7-3.el6.i686
--&gt Processing Dependency: libc.so.6 for package: libstdc++-4.4.7-3.el6.i686
--&gt Processing Dependency: ld-linux.so.2(GLIBC_2.3) for package: libstdc++-4.4.7-3.el6.i686
--&gt Processing Dependency: ld-linux.so.2 for package: libstdc++-4.4.7-3.el6.i686
--&gt Running transaction check
---&gt Package glibc.i686 0:2.12-1.107.el6 will be installed
--&gt Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.107.el6.i686
--&gt Processing Dependency: libfreebl3.so for package: glibc-2.12-1.107.el6.i686
---&gt Package libgcc.i686 0:4.4.7-3.el6 will be installed
--&gt Running transaction check
---&gt Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be installed
--&gt Finished Dependency Resolution




Dependencies Resolved




================================================================================
 Package                   Arch        Version                Repository   Size
================================================================================
Installing:
 libstdc++                 i686        4.4.7-3.el6            base        300 k
Installing for dependencies:
 glibc                     i686        2.12-1.107.el6         base        4.3 M
 libgcc                    i686        4.4.7-3.el6            base        112 k
 nss-softokn-freebl        i686        3.12.9-11.el6          base        116 k




Transaction Summary
================================================================================
Install       4 Package(s)




Total download size: 4.8 M
Installed size: 14 M
Is this ok [y/N]: y
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           123 MB/s | 4.8 MB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : libgcc-4.4.7-3.el6.i686                                      1/4 
  Installing : nss-softokn-freebl-3.12.9-11.el6.i686                        2/4 
  Installing : glibc-2.12-1.107.el6.i686                                    3/4 
  Installing : libstdc++-4.4.7-3.el6.i686                                   4/4 
  Verifying  : glibc-2.12-1.107.el6.i686                                    1/4 
  Verifying  : libstdc++-4.4.7-3.el6.i686                                   2/4 
  Verifying  : nss-softokn-freebl-3.12.9-11.el6.i686                        3/4 
  Verifying  : libgcc-4.4.7-3.el6.i686                                      4/4 




Installed:
  libstdc++.i686 0:4.4.7-3.el6                                                  




Dependency Installed:
  glibc.i686 0:2.12-1.107.el6                   libgcc.i686 0:4.4.7-3.el6      
  nss-softokn-freebl.i686 0:3.12.9-11.el6      



Complete!


重新安裝,順利完成。
[root@I05-DB-SRV01 mnt]# ./installux.sh 
KAPL09210-I installhdlm will now start.
KAPL09093-I HDLM 7.6.0-00 will be installed. Is this OK ? [y/n]: y
Preparing packages for installation...
KAPL09076-I The permanent license was installed.
HDLM-7.6.0.0.808-7
KAPL09043-I The installation of HDLM-7.6.0.0.808-7 completed successfully.
KAPL09211-I installhdlm completed successfully.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/81227/viewspace-1245677/,如需轉載,請註明出處,否則將追究法律責任。

相關文章