Error in invoking target ‘links proc gen_pcscfg procob’ of makefile ‘/product/12.1.0/dbhome_1/precomp/lib/ins_precomp.mk’

这两天,在rhel7.4下安装Oracle12C时,版本号为:12.1.0, 在图形化安装时,安装进程到64%时,报错:

Error in invoking target 'links proc gen_pcscfg procob' of makefile
'/opt/app/oracle/product/12.1.0/dbhome_1/precomp/lib/ins_precomp.mk'.
See
'/opt/app/oraInventory/logs/installActions2018-07-02_11-05-07PM.log'
for details.

如下图所示:

由于Oracle12c官方还不支持RHEL7系统,在新版系统下会表现出此错误.
解决方案参考网上的方法:
Install Oracle 12.1.0.1 Error in invoking target ‘links proc gen_pcscfg procob’ of makefile …ins_precomp.mk
保留安装进程,另外开启一个终端窗口,修改文件env_rdbms.mk内容.
# rm -rf /u01/app/oracle/product/12.1.0/db_1/lib/stubs/*
# cp /opt/app/oracle/product/12.1.0/db_1/rdbms/lib/env_rdbms.mk /opt/app/oracle/product/12.1.0/db_1/rdbms/lib/env_rdbms.mk.orig
# vi /opt/app/oracle/product/12.1.0/db_1/rdbms/lib/env_rdbms.mk
# Line 176
# FROM:
LINKTTLIBS=$(LLIBCLNTSH) $(ORACLETTLIBS) $(LINKLDLIBS)
# TO  :
LINKTTLIBS=$(LLIBCLNTSH) $(ORACLETTLIBS) $(LINKLDLIBS) –lons
# Line 279-280
# FROM:
LINK=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS) $(COMPSOBJS)
LINK32=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS32) $(COMPSOBJS)
# TO  :
LINK=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS) $(COMPSOBJS) -Wl,–no-as-needed
LINK32=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS32) $(COMPSOBJS) -Wl,–no-as-needed
# Line 3041-3042
# FROM:
TG4PWD_LINKLINE= $(LINK) $(OPT) $(TG4PWDMAI) \
$(LLIBTHREAD) $(LLIBCLNTSH) $(LINKLDLIBS)
# TO  :
TG4PWD_LINKLINE= $(LINK) $(OPT) $(TG4PWDMAI) \
$(LLIBTHREAD) $(LLIBCLNTSH) $(LINKLDLIBS) -lnnz12
然后在安装进程中点击Retry即可继续安装,直至安装完成。

 

 

 

 

以下文章点击率最高

Loading…

发表评论