安裝tuxedo時報error while loading shared libraries: libdl.so.2: cannot open shared object file: No such

2011-03-26 08:11:05| 分類: tuxedo |舉報|字號 訂閱java

系統爲as5.2,須要安裝的是一個網站防篡改的軟件,軟件名xx.bin。這個軟件針對的linux核心是2.4.1的......
遇到的問題
[root@localhost down]# ./xxx.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...
awk: error while loading shared libraries: libdl.so.2: 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.8023/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
因爲這個軟件安裝時須要用到jre,多是由於系統自有的庫文件與安裝文件裏面的某些程序有衝突。上網查到了一個關於zend安裝過程當中遇到的相似問題,使用了以下方法終於解決,不敢獨食,特與你們共享。
同時也爲google提供一些資料.........(google你不用謝我了,呵呵)
cp xxx.bin xxx.bin.bak
cat xxx.bin.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > xxx.bin
此方法應該是替換掉安裝文件裏面的某個與jre相關的模塊,以使安裝的東東與系統的一些文件不衝突linux

相關文章
相關標籤/搜索