OracleLinux (64-bit) Installation of 64-bit Oracle10g encountered ins_ctx.mk Problem
Oracle Linux (64-bit) Installation of 64-bit Oracle 10g encountered the ins_ctx.mk Problem
When 64-bit Oracle 10g is installed on Oracle Linux Server Release 5.7, the following problems are encountered:
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;
As follows:
Run the tail command to view the/u01/app/oracle/oraInventory/logs/installActions2014-01-11_12-44-52PM.log file and find the following information:
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-ln10 -lcore10-lnls10 'cat/u01/app/oracle/product/dbhome_1/lib/sysliblist '8: 9: INFO:/usr/bin/ld: crt1.o: 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:
The cause of the problem was found in Yang Tingting's blog "ins_ctx.mk error" in installing LINUX X86-64 10201: Linux does not have a 32-bit glibc-devel package. Check whether the 32-bit glibc-devel package is installed. As shown below, only the 64-bit glibc-devel package is installed.
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:
Next, install the glibc-devel package.
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: --> Finis Hed Dependency Resolution 20: 21: Dependencies Resolved 22: 23: ========================================================== ========================================================== ========================================================== ============= 24: 25: Package Arch Version Repository Size 26: 27: ========================================================== ========================================================== ========================================================== =============28: 29: Installin G: 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_chec K_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:
Follow the prompts in his blog to exit the installation interface after installing this package, instead of clicking CONTINUE. Otherwise, even if ins_ctx.mk is compiled successfully, this error will be prompted. After the installation is successful, I quit Oracle Installation and reinstall it to solve the problem.
References: