首页 > 代码库 > 安装LINUX X86-64的10201出现链接ins_ctx.mk错误-转自yingtingkun

安装LINUX X86-64的10201出现链接ins_ctx.mk错误-转自yingtingkun

详细错误信息为:

Error in invoking target ‘install’ of makefile ‘/opt/oracle/product/10.2/ctx/lib/ins_ctx.mk’. See ‘/opt/oracle/oraInvertory/logs/installActions2010-09-28_10-27-06AM.log’for details.

从日志中获取的详细信息为:

INFO: gcc -m32 -o ctxhx -L/opt/oracle/product/10.2/ctx//lib32/ -L/opt/oracle/product/10.2/lib32/ -L/opt/oracle/product/10.2/lib32/st
ubs/  /opt/oracle/product/10.2/ctx/lib/ctxhx.o -L/opt/oracle/product/10.2/ctx/lib/ -ldl -lm -lctxhx -Wl,-rpath,/opt/oracle/product/1
0.2/ctx/lib -lsnls10 -lnls10  -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore1
0 -lnls10  `cat /opt/oracle/product/10.2/lib/sysliblist`

INFO: /usr/bin/ld: crt1.o: No such file: No such file or directory

INFO: collect2: ld ?? 1

INFO: make: *** [ctxhx] ?? 1

INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target ‘install‘ of makefile ‘/opt/oracle/product/10.2/ctx/lib/ins_ctx.mk‘. See ‘/opt/oracle/ora
Inventory/logs/installActions2010-09-28_10-27-06AM.log‘ for details.
Exception Severity: 1

查询metalink发现对于glibc-devel需要32位的包,详细信息参考metalink文档ID 786995.1:

[root@YPJG Server]# rpm --all --query --queryformat "%{NAME}-%{VERSION}-%{RELEASE}-(%{ARCH})\n" | grep glibc
glibc-2.5-42-(x86_64)
glibc-2.5-42-(i686)
glibc-common-2.5-42-(x86_64)
glibc-devel-2.5-42-(x86_64)
glibc-headers-2.5-42-(x86_64)
[root@YPJG Server]# rpm -ivh glibc-devel-2.5-42.i386.rpm 
warning: glibc-devel-2.5-42.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing...                ########################################### [100%]
   1:glibc-devel            ########################################### [100%]

重新安装,ins_ctx.mk不再报错。

需要注意,安装这个包后,要退出安装界面,而不要点CONTINUE,否则在ins_ctx.mk可以编译成功,虽然的包仍然会报错。

Oracle的官方文档并没有强调这个包的位数。