安裝PowerCenter8.1.1 for Linux時報錯處理

尛樣兒發表於2010-02-21

Linux核心:
[root@centos VM]# uname -r
2.6.18-164.el5
[root@centos VM]# cat /etc/redhat-release
CentOS release 5.4 (Final)

Informatica PowerCenter檔案:
Informatica8.1.1_for_linux_x86.part1.rar
Informatica8.1.1_for_linux_x86.part2.rar

解壓檔案:
unrar x Informatica8.1.1_for_linux_x86.part1.rar /opt/soft/infa

啟動安裝介面:
執行
/opt/soft/infa/Informatica8.1.1_for_linux_x86/Server/Linux/Disk1/InstData/VM/install.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.9836/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

找了些資料:
cp install.bin install.bin.bak
cat install.bin.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > install.bin


但是此命令無法執行完成。
於是手動修改install.bin 註釋了相關的LD_ASSUME_KERNEL行。

再次執行
[infa@centos VM]$ ./install.bin

繼續報錯:
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...

gzip: /tmp/install.dir.7159/Linux/resource/vm.tar.Z: not in gzip format
/tmp/install.dir.7159/Linux/resource/vm.tar.Z: not in compressed format

gzip: /tmp/install.dir.7159/Linux/resource/vm.tar.Z: not in gzip format
The included VM could not be uncompressed (GZIP/UNCOMPRESS). Please try to
download the installer again and make sure that you download using 'binary'
mode.  Please do not attempt to install this currently downloaded copy.

於是在細緻觀察了一下此條命令:

cat install.bin.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > install.bin

是將export LD_ASSUME_KERNEL替換為#xport LD_ASSUME_KERNEL

搜尋install.bin檔案,將所有export LD_ASSUME_KERNEL替換為#xport LD_ASSUME_KERNEL

重新執行./install.bin問題得到解決。


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

相關文章