RH5 安裝ORACLE 10G 出錯 1,libXp.so.6: cannot open 2,libXt.so.6: cannot open
錯誤一:
/tmp/OraInstall2007-12-30_02-16-11PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..
原因是:缺少支援列印的圖形化動態連結庫libXp.so.6
這個錯誤是由於缺少系統安裝包,在RHEL5以前的版本,可以安裝xorg-x11-deprecated-libs包即可,這個安裝包可以在系統光碟第三張盤中找到(對於redhat as4.2以前,redhat as4.4是在第四張安裝光碟)
我下載的檔案如下:
xorg-x11-deprecated-libs-6.8.2-31.i386.rpm
本人RH5非正版,先mount RH5的安裝盤,使用find -name /cdrom 無此包,強制安裝XORG開頭的包,結果還是失敗。
故採用修改YUM為CENTOS 然後使用YUM自動安裝。
1.先將RHEL5自帶的yum刪除,執行查詢已經安裝的yum開頭的包
rpm -qa|grep yum
將所有找到的包都刪除(-–nodeps 強制)
rpm -e –-nodeps yum.XXXX.rpm
然後到中科大的網站下載如下三個包:
wget
wget
wget
2.安裝
rpm -ivh --nodeps yum.XXXX.rpm
3.下載中科大專用的配置檔案:
cd /etc/yum.repos.d/
wget
mv CentOS-Base.repo.5 CentOS-Base.repo #改名
因為預設的配置檔案中伺服器地址用的版本號是變數$releasever,所以需要將其替換為實際的版本號,否則是無法連線到伺服器的.
當前CentOS最新版是5.4,所以我們修改CentOS-Base.repo
VI編輯CentOS-Base.repo 替換$releasever
:1,$s/$releasever/5.4/g
最後儲存退出即可。
4.執行命令
yum update
修改YUM源為CENTOS後 使用YUM打包
yum install xorg-x11-deprecated-libs
搞定
錯誤二:
Exception :java.lang.UnsatisfiedLinkError:/usr/java/j2sdk1.4.2_06/jre/lib/i386/libawt.so: libXt.so.6: cannot open shared object file: No such file or directory這個錯誤是也是由於缺少系統安裝包造成的,只需安裝XFree86-libs包即可,這個安裝包可以在系統光碟中找到。
在上面兩個錯誤如果出現在redhat as5版本中,解決如下:
在RHEL5中上面的包被libXp所取代了,因此rpm -ivh libXp-1.0.0-8.i386.rpm將包打上後問題即可解決。[@more@]來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/14181270/viewspace-1057845/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle安裝報錯libawt.so:libXP.so.6:cannot open shared object fileOracleObject
- 安裝Oracle報:libawt.so:libXP.so.6:cannot open shared objectOracleObject
- Redhat5下安裝ORACLE10.2.0.1報錯“libXp.so.6: cannot open shared object file”RedhatOracleObject
- redhat linux6.6 安裝oracle10g報錯libawt.so: libXt.so.6: cannot openRedhatLinuxOracle
- 安裝grid時報錯:libXext.so.6: cannot open shared object fileObject
- Nginx安裝啟動過程報錯libpcre.so.1 cannot open shared object file: No such file or directoryNginxObject
- 解決“su: cannot open session: Permission denied”Session
- xtrabackup: Error: cannot open /../../base/xtrabackup_checkpointsError
- virt-manager cannot open display問題
- /lib/i386/libawt.so: libXp.so.6: cannot open shared object fileObject
- -bash: ulimit: open files: cannot modify limit: Operation not permittedMIT
- libcap.so.1:cannot open shared object file: No such file or directoryObject
- libz.so.1: cannot open shared object file: No such file or directoryObject
- libiconv.so.2: cannot open shared object file: No such filObject
- CentOS7提示 libsasl2.so.2: cannot open shared object fileCentOSObject
- EM 10g Grid Control Fails With 'libdb.so.2: cannot open shared object file:AIObject
- 獨顯接顯示器報錯提示:Mouse0: cannot open input devicedev
- 【問題處理】啟動OUI丟擲libXp.so.6: cannot open shared object file問題處理UIObject
- 問題1.libXp.so.6: cannot open shared object file: No such file or directoryObject
- 11.2.0.3 rac on redhat 6.2 libcap.so.1: cannot open shared object fileRedhatObject
- 11.2.0.4 rac on redhat 6.5 libcap.so.1: cannot open shared object fileRedhatObject
- 12C-ORA-65086: cannot open/close the pluggable databaseDatabase
- 記錄 libldap-2.4.so.2: cannot open shared object file: No such file or directoryLDAObject
- open the oracle 10g on linuxOracle 10gLinux
- 基本完成open suse linux 下的oracle 10g安裝LinuxOracle 10g
- libmysqlclient.so.16: cannot open shared object file: No such file or directoryIBMMySqlclientObject
- Git (gnome-ssh-askpass:3871): Gtk-WARNING **: cannot open display:Git
- libXext.so.6: cannot open shared object file: No such file or directoryObject
- 解決org.hibernate.exception.GenericJDBCException: Cannot open connectionExceptionJDBC
- /jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file問題處理Object
- MogDB 安裝解壓錯誤:cannot run bzip2: No such file or directory
- 呼叫torchtext報錯OSError: libtorch_cpu.so: cannot open shared object file: No such file or directoryErrorObject
- RAC執行root.sh報libcap.so.1: cannot open shared object fileObject
- error while loading shared libraries: libcap.so.1: cannot open sharedErrorWhile
- python libclntsh.so.12.1: cannot open shared object filePythonObject
- libcudart.so.8.0: cannot open shared object file解決方案DartObject
- ImportError: libffi.so.7: cannot open shared object file: No such file or directoryImportErrorObject
- IBM open power 720 +suse 9+oracle 10g 安裝手記IBMOracle 10g