libg2c.so.0 is needed by compat-gcc-34-g77-3.4.6-4.i386错误的处理
Oracle在安装时需要compat-gcc,我在RHEL5.4时出现如下问题:
[root@localhost rpm]# rpm -ivh compat-gcc-34-g77-3.4.6-4.i386.rpm
warning: compat-gcc-34-g77-3.4.6-4.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
compat-libf2c-34 = 3.4.6-4 is needed by compat-gcc-34-g77-3.4.6-4.i386
libg2c.so.0 is needed by compat-gcc-34-g77-3.4.6-4.i386
这是因为安装依赖包compat-libf2c-34-3.4.6-4.i386.rpm。
[root@localhost rpm]# rpm -ivh compat-libf2c-34-3.4.6-4.i386.rpm
warning: compat-libf2c-34-3.4.6-4.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing… oracle账号 ########################################### [100%]
1:compat-libf2c-34 ########################################### [100%]
[root@localhost rpm]# rpm -ivh compat-gcc-34-g77-3.4.6-4.i386.rpm
warning: compat-gcc-34-g77-3.4.6-4.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing… ########################################### [100%]
1:compat-gcc-34-g77 ########################################### [100%]