oracle11gR2安裝時gcc包打不上解決

guyuanli發表於2011-11-12

安裝ORACLE的時候GCC包打不上,換以下錯誤:

[root@cump oracle]# rpm -ivh gcc-4.1.2-48.el5.x86_64.rpm

warning: gcc-4.1.2-48.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

error: Failed dependencies:

libgomp >= 4.1.2-48.el5 is needed by gcc-4.1.2-48.el5.x86_64

[@more@]

弄了半天,查詢才知道,原來這個包是有依賴的包,要先安裝libgomp這個包才能安裝:

[root@cump oracle]# rpm -ivh libgomp-4.4.0-6.el5.i386.rpm

warning: libgomp-4.4.0-6.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing... ########################################### [100%]

1:libgomp ########################################### [100%]

[root@cump oracle]# rpm -ivh libgomp-4.4.0-6.el5.x86_64.rpm

warning: libgomp-4.4.0-6.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing... ########################################### [100%]

1:libgomp ########################################### [100%]

[root@cump oracle]# ls

elfutils-libelf-devel-0.137-3.el5.i386.rpm

elfutils-libelf-devel-0.137-3.el5.x86_64.rpm

elfutils-libelf-devel-static-0.137-3.el5.i386.rpm

elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm

gcc-4.1.2-48.el5.x86_64.rpm

gcc-c++-4.1.2-48.el5.x86_64.rpm

gcc-gfortran-4.1.2-48.el5.x86_64.rpm

gcc-gnat-4.1.2-48.el5.x86_64.rpm

gcc-java-4.1.2-48.el5.x86_64.rpm

gcc-objc-4.1.2-48.el5.x86_64.rpm

gcc-objc++-4.1.2-48.el5.x86_64.rpm

libgomp-4.4.0-6.el5.i386.rpm

libgomp-4.4.0-6.el5.x86_64.rpm

[root@cump oracle]# rpm -ivh gcc-4.1.2-48.el5.x86_64.rpm

warning: gcc-4.1.2-48.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing... ########################################### [100%]

1:gcc ########################################### [100%]

至此,問題解決

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

相關文章