LINUX 安装错误笔记ins_ctx.mk
现象:
[root@L-AP-89-10 logs]# tail -f installActions2015-01-08_10-51-56AM.log
INFO: collect2: ld returned 1 exit status
INFO: make: *** [ctxhx] Error 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 ‘/usr/local/oracle/product/10201/ctx/lib/ins_ctx.mk‘. See ‘/usr/local/oracle/oraInventory/logs/installActions2015-01-08_10-51-56AM.log‘ for details.
Exception Severity: 1
原因:Linux没有安装32位的glibc-devel包。于是检查一下是否没有安装32位的glibc-devel包。
解决:
解决:
[root@L-AP-89-10 logs]# cd /mnt/cdrom
[root@L-AP-89-10 cdrom]# ls
EFI isolinux RELEASE-NOTES-as-IN.html RELEASE-NOTES-fr-FR.html RELEASE-NOTES-kn-IN.html RELEASE-NOTES-pa-IN.html RELEASE-NOTES-te-IN.html RPM-GPG-KEY-redhat-beta
EULA LoadBalancer RELEASE-NOTES-bn-IN.html RELEASE-NOTES-gu-IN.html RELEASE-NOTES-ko-KR.html RELEASE-NOTES-pt-BR.html RELEASE-NOTES-zh-CN.html RPM-GPG-KEY-redhat-release
GPL media.repo RELEASE-NOTES-de-DE.html RELEASE-NOTES-hi-IN.html RELEASE-NOTES-ml-IN.html RELEASE-NOTES-ru-RU.html RELEASE-NOTES-zh-TW.html ScalableFileSystem
HighAvailability Packages RELEASE-NOTES-en-US.html RELEASE-NOTES-it-IT.html RELEASE-NOTES-mr-IN.html RELEASE-NOTES-si-LK.html repodata Server
images README RELEASE-NOTES-es-ES.html RELEASE-NOTES-ja-JP.html RELEASE-NOTES-or-IN.html RELEASE-NOTES-ta-IN.html ResilientStorage TRANS.TBL
[root@L-AP-89-10 cdrom]# cd Packages
[root@L-AP-89-10 Packages]# ls -lt|grep glib
-r--r--r--. 57 root root 163120 Nov 9 2011 glibc-utils-2.12-1.47.el6.x86_64.rpm
-r--r--r--. 57 root root 610644 Nov 9 2011 glibc-headers-2.12-1.47.el6.x86_64.rpm
-r--r--r--. 99 root root 989352 Nov 9 2011 glibc-devel-2.12-1.47.el6.i686.rpm
-r--r--r--. 57 root root 988900 Nov 9 2011 glibc-devel-2.12-1.47.el6.x86_64.rpm
-r--r--r--. 57 root root 14865680 Nov 9 2011 glibc-common-2.12-1.47.el6.x86_64.rpm
-r--r--r--. 57 root root 3969196 Nov 9 2011 glibc-2.12-1.47.el6.x86_64.rpm
-r--r--r--. 99 root root 4483992 Nov 9 2011 glibc-2.12-1.47.el6.i686.rpm
-r--r--r--. 51 root root 210280 Nov 9 2011 NetworkManager-glib-0.8.1-15.el6.x86_64.rpm
-r--r--r--. 92 root root 210052 Nov 9 2011 NetworkManager-glib-0.8.1-15.el6.i686.rpm
-r--r--r--. 137 root root 231788 Oct 19 2011 spice-glib-0.6-2.el6.i686.rpm
-r--r--r--. 86 root root 226864 Oct 19 2011 spice-glib-0.6-2.el6.x86_64.rpm
-r--r--r--. 115 root root 226416 Apr 15 2011 PackageKit-glib-0.5.8-19.el6.x86_64.rpm
-r--r--r--. 168 root root 220024 Apr 15 2011 PackageKit-glib-0.5.8-19.el6.i686.rpm
-r--r--r--. 181 root root 20348 Apr 8 2011 avahi-glib-0.6.25-11.el6.i686.rpm
-r--r--r--. 130 root root 20212 Apr 8 2011 avahi-glib-0.6.25-11.el6.x86_64.rpm
-r--r--r--. 142 root root 1177012 Feb 1 2011 glib2-2.22.5-6.el6.x86_64.rpm
-r--r--r--. 119 root root 1313520 Feb 1 2011 glib2-devel-2.22.5-6.el6.x86_64.rpm
-r--r--r--. 193 root root 1161080 Feb 1 2011 glib2-2.22.5-6.el6.i686.rpm
-r--r--r--. 160 root root 1312492 Feb 1 2011 glib2-devel-2.22.5-6.el6.i686.rpm
-r--r--r--. 191 root root 73568 Oct 26 2010 poppler-glib-0.12.4-3.el6_0.1.i686.rpm
-r--r--r--. 136 root root 74780 Oct 26 2010 poppler-glib-0.12.4-3.el6_0.1.x86_64.rpm
-r--r--r--. 193 root root 206024 Aug 17 2010 taglib-1.6.1-1.1.el6.i686.rpm
-r--r--r--. 138 root root 200748 Aug 17 2010 taglib-1.6.1-1.1.el6.x86_64.rpm
-r--r--r--. 211 root root 23180 Aug 17 2010 pulseaudio-libs-glib2-0.9.21-13.el6.i686.rpm
-r--r--r--. 153 root root 23336 Aug 17 2010 pulseaudio-libs-glib2-0.9.21-13.el6.x86_64.rpm
-r--r--r--. 139 root root 281808 Aug 17 2010 glibmm24-2.22.1-1.el6.x86_64.rpm
-r--r--r--. 174 root root 60196 Aug 17 2010 dbus-glib-devel-0.86-5.el6.i686.rpm
-r--r--r--. 129 root root 59904 Aug 17 2010 dbus-glib-devel-0.86-5.el6.x86_64.rpm
-r--r--r--. 202 root root 174172 Aug 17 2010 dbus-glib-0.86-5.el6.i686.rpm
-r--r--r--. 149 root root 174056 Aug 17 2010 dbus-glib-0.86-5.el6.x86_64.rpm
-r--r--r--. 147 root root 458320 Aug 17 2010 compat-glibc-headers-2.5-46.2.x86_64.rpm
-r--r--r--. 147 root root 1299752 Aug 17 2010 compat-glibc-2.5-46.2.x86_64.rpm
[root@L-AP-89-10 Packages]# yum install glibc*686.rpm
Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, security, subscription-manager, tmprepo, verify, versionlock
Updating certificate-based repositories.
Loading support for Red Hat kernel ABI
Setting up Install Process
Examining glibc-2.12-1.47.el6.i686.rpm: glibc-2.12-1.47.el6.i686
Marking glibc-2.12-1.47.el6.i686.rpm to be installed
Package glibc-2.12-1.47.el6.i686 already installed and latest version
glibc-2.12-1.47.el6.i686.rpm: does not update installed package.
Examining glibc-devel-2.12-1.47.el6.i686.rpm: glibc-devel-2.12-1.47.el6.i686
Marking glibc-devel-2.12-1.47.el6.i686.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package glibc-devel.i686 0:2.12-1.47.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================================================================
Installing:
glibc-devel i686 2.12-1.47.el6 /glibc-devel-2.12-1.47.el6.i686 953 k
Transaction Summary
===============================================================================================================================================================================================
Install 1 Package(s)
Total size: 953 k
Installed size: 953 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : glibc-devel-2.12-1.47.el6.i686 1/1
Installed products updated.
Installed:
glibc-devel.i686 0:2.12-1.47.el6
Complete!
[root@L-AP-89-10 Packages]#
本文出自 “麦地坞” 博客,请务必保留此出处http://yunlongzheng.blog.51cto.com/788996/1600577