1. 用root,使用yum install -y compat-gcc* compat-glibc* compat-libstd*

然后retry即可

2. 在安装linux X86-64的Oracle11g时,在链接过程中出现了这个错误。

详细错误信息为:

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的官方文档并没有强调这个包的位数。

GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:1 个月前 )
186a802e added ecosystem file for PM2 4 年前
5def40a3 Add host customization support for the NodeJS version 4 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐