在Oracle Linux Server Release 5.7上安装64位Oracle 10g 时,遇到如下问题:

Error in invoking target 'install' of makefile '/u01/app/oracle/product/dbhome_1/ctx/lib/ins_ctx.mk'.

See '/u01/app/oracle/oraInventory/logs/installActions2014-01-11_12-44-52PM.log' for details;

                                          截图如下

使用tail命令查看/u01/app/oracle/oraInventory/logs/installActions2014-01-11_12-44-52PM.log文件,发现如下信息:

   1: INFO: mv -f /u01/app/oracle/product/dbhome_1/bin/ctxlc /u01/app/oracle/product/dbhome_1/bin/ctxlcO

   2:  

   3: INFO: mv ctxlc /u01/app/oracle/product/dbhome_1/bin/ctxlc

   4:  

   5: INFO: chmod 751 /u01/app/oracle/product/dbhome_1/bin/ctxlc

   6:  

   7: INFO: gcc -m32 -o ctxhx -L/u01/app/oracle/product/dbhome_1/ctx//lib32/ -L/u01/app/oracle/product/dbhome_1/lib32/ -L/u01/app/oracle/product/dbhome_1/lib32/stubs/ /u01/app/oracle/product/dbhome_1/ctx/lib/ctxhx.o -L/u01/app/oracle/product/dbhome_1/ctx/lib/ -ldl -lm -lctxhx -Wl,-rpath,/u01/app/oracle/product/dbhome_1/ctx/lib -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /u01/app/oracle/product/dbhome_1/lib/sysliblist` 

   8:  

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

  10:  

  11: INFO: collect2: ld returned 1 exit status

  12:  

  13: INFO: make: *** [ctxhx] Error 1

  14:  

  15: INFO: End output from spawned process.

  16:  

  17: INFO: ----------------------------------

  18:  

  19: INFO: Exception thrown from action: make

  20:  

  21: Exception Name: MakefileException

  22:  

  23: Exception String: Error in invoking target 'install' of makefile '/u01/app/oracle/product/dbhome_1/ctx/lib/ins_ctx.mk'. See '/u01/app/oracle/oraInventory/logs/installActions2014-01-11_01-24-04PM.log' for details.

  24:  

  25: Exception Severity: 1

  26:  

在杨廷琨博客"安装LINUX X86-64的10201出现链接ins_ctx.mk错误"中刚好找到了问题的原因所在:Linux没有安装32位的glibc-devel包。于是检查一下是否没有安装32位的glibc-devel包。如下所示,确实只安装了64位的glibc-devel包。

   1: [root@CEG-eSCM ~]# rpm --all --query --queryformat "%{NAME}-%{VERSION}-%{RELEASE}-(%{ARCH})\n" | grep glibc

   2:  

   3: glibc-devel-2.5-65-(x86_64)

   4:  

   5: glibc-2.5-65-(x86_64)

   6:  

   7: glibc-headers-2.5-65-(x86_64)

   8:  

   9: glibc-common-2.5-65-(x86_64)

  10:  

  11: glibc-2.5-65-(i686)

  12:  

接下来安装位的glibc-devel包

   1: [root@CEG-eSCM cdrom]# yum install glibc-devel.i386

   2:  

   3: Loaded plugins: rhnplugin, security

   4:  

   5: This system is not registered with ULN.

   6:  

   7: ULN support will be disabled.

   8:  

   9: rhel-debuginfo | 1.1 kB 00:00

  10:  

  11: Setting up Install Process

  12:  

  13: Resolving Dependencies

  14:  

  15: --> Running transaction check

  16:  

  17: ---> Package glibc-devel.i386 0:2.5-65 set to be updated

  18:  

  19: --> Finished Dependency Resolution

  20:  

  21: Dependencies Resolved

  22:  

  23: ====================================================================================================================================

  24:  

  25: Package Arch Version Repository Size

  26:  

  27: ====================================================================================================================================

  28:  

  29: Installing:

  30:  

  31: glibc-devel i386 2.5-65 rhel-debuginfo 2.0 M

  32:  

  33: Transaction Summary

  34:  

  35: ====================================================================================================================================

  36:  

  37: Install 1 Package(s)

  38:  

  39: Upgrade 0 Package(s)

  40:  

  41: Total download size: 2.0 M

  42:  

  43: Is this ok [y/N]: y

  44:  

  45: Downloading Packages:

  46:  

  47: Running rpm_check_debug

  48:  

  49: Running Transaction Test

  50:  

  51: Finished Transaction Test

  52:  

  53: Transaction Test Succeeded

  54:  

  55: Running Transaction

  56:  

  57: Installing : glibc-devel 1/1 

  58:  

  59: Installed:

  60:  

  61: glibc-devel.i386 0:2.5-65

  62:  

  63: Complete!

  64:  

按照他博客的提示,安装这个包后,要退出安装界面,而不要点CONTINUE,否则即使ins_ctx.mk编译成功,任然会提示该错误。我按照提示安装成功后,退出Oracle安装,然后重新安装,问题解决。

参考资料:

    http://blog.itpub.net/4227/viewspace-675357

Oracle Linux(64位)安装64位Oracle10g遇到ins_ctx.mk问题的更多相关文章

  1. oracle 11g 64位安装32位客户端和PL/SQL

    转自:http://www.360doc.com/content/14/0602/10/4903283_382949382.shtml   这个你需要安装一个32位的oracle客户端才能使用plsq ...

  2. Linux 配置只安装 64 位软件包

    Centos.RHEL等系统,yum 安装的时候有时候会安装32的,然而我们只需要安装64位的软件! 解决方法: yum只安装 64 位的包,只需在 /etc/yum.conf 中加入 "e ...

  3. wamp安装xdebug特殊情况win7 64位安装32位wamp

    在wamp上安装xdebug网上很多文章都介绍了方法,但是我这里遇到了一个很特殊的情况,在网上很少有人提及: 我机器是win7 64位的,安装的wamp1.7.4是32位的,这是后来导致出现奇怪现象的 ...

  4. Ubuntu 64位安装32位运行库

    sudo apt-get install ia32-libs 32-64sudo apt-get install libc6:i386sudo apt-get install librt:i386su ...

  5. ubuntu 13.04 64位安装32位兼容包

    未安装32位兼容包,编译出现未找到指定目录下gcc命令,则安装兼容包:sudo apt-get install ia32-libs 若提示:不能安装,与相关软件冲突,则按如下安装: 在网上找到更新源, ...

  6. Oracle linux 6.3 安装11g R2 RAC on vbox

    1 安装系统 Virtual box 4.3 Oracle linux 6.3 Oracle 11g r2 Make sure "Adapter 1" is enabled, se ...

  7. Oracle Linux 5.7安装VMware Tools的问题

    案例环境介绍:     虚拟机的版本:VMware® Workstation 8.0.3 build-703057    操作系统版本:Oracle Linux Server release 5.7 ...

  8. RAC分解步骤之一,在oracle linux 4u4上安装oracle 10.2.0.1.0操作日志

    练习oracle的rac组建过程,第一步,先练习4u4上安装oracle 10.2.0.1.0.直接安装rac,有些难度.从简单的做起.总RAC步骤,参照小布老师的RAC组建. 1. 启动vc,登陆v ...

  9. oracle linux 6.8 安装

    ' 测试环境vm虚拟机 硬盘大小50G 内存2G CPU 4 选择install or upgrade an existing system 选择skip跳过内存检查 Next 选择语言,Next 选 ...

随机推荐

  1. 相克军_Oracle体系_随堂笔记012-undo

    undo表空间中undo段是自动生成的,oracle自动使用undo表空间的undo段. 作为高级DBA,需要了解Oracle是如何使用undo段的.这样出了性能问题才能够解决.   1.Undo表空 ...

  2. Oracle 10g安全加固(审计、监听密码)

    环境: Linux 6.4 + Oracle 10.2.0.4 1. Oracle 10g 审计功能 2. 对数据库监听器的关闭和启动设置密码 1. Oracle 10g 审计功能 Oracle 10 ...

  3. 本周博客--WinForm线程初步 2014-10-31 09:15 54人阅读 评论(0) 收藏

    嗯,WinForm作为一个比较程序的微软的技术已经为我们服务了很久很久,在技术不断更新的今天WinForm虽显老态龙钟但是在客户端快速开发中,它的地位还是无可取代的 今天就来分享一下WinForm中的 ...

  4. js的stopPropagation()、cancelBubble、preventDefault()、return false的分析

    个人笔记,如有错误,望指出. 事件冒泡,举个列子: <li> <a href='http://www.baidu.com'>点击a</a> </li> ...

  5. Windows 10 密钥分享

    Windows 10 Technical Preview for Enterprise:KEY:PBHCJ-Q2NYD-2PX34-T2TD6-233PKhttp://technet.microsof ...

  6. SqlServer切换MySql总结

    最近项目任务不多就琢磨着把SqlServer换成MySql(数据访问使用的ado.net),初步想了下方案有2种: 方案一:继续使用ado.net,重写所有的sql语句 优势:数据访问效率高,改写Sq ...

  7. 异步编程系列06章 以Task为基础的异步模式(TAP)

    p { display: block; margin: 3px 0 0 0; } --> 写在前面 在学异步,有位园友推荐了<async in C#5.0>,没找到中文版,恰巧也想提 ...

  8. .Net(c#)汉字和Unicode编码互相转换

    {"Tilte": "\u535a\u5ba2\u56ed", "Href": "http://www.cnblogs.com&q ...

  9. Devexpress GridView 数据格式化显示

    gridView1.CustomColumnDisplayText += gridView1_CustomColumnDisplayText; void gridView1_CustomColumnD ...

  10. Extjs.Button 按钮

    Extjs  Button 的简单使用 ,同时调用Ajax服务 <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xh ...