Installing Oracle 10gR2 on Enterprise Linux Enterprise Linux AS release 4
(October Update 4). Following prerequisite steps to verify installed packages
(RPMs) according to Oracle Database Installation Guide 10g Release 2 (10.2) for
Linux x86:
Install 10gR2 on Linux x86 - Checking the Software Requirements
we must have the following RPMs installed:
Red Hat Enterprise Linux 4.0 and Asianux 2.0:
binutils-2.15.92.0.2-13.EL4
compat-db-4.1.25-9
compat-libstdc++-296-2.96-132.7.2
control-center-2.8.0-12
gcc-3.4.3-22.1.EL4
gcc-c++-3.4.3-22.1.EL44
glibc-2.3.4-2.9
glibc-common-2.3.4-2.9
gnome-libs-1.4.1.2.90-44.1
libstdc++-3.4.3-22.1
libstdc++-devel-3.4.3-22.1
make-3.80-5
pdksh-5.2.14-30
sysstat-5.0.5-1
xscreensaver-4.18-5.rhel4.2
setarch-1.6-1
checking for installed packages using the following command:
rpm -q binutils compat-db compat-libstdc++ \
control-center gcc gcc-c++ glibc \
glibc-common gnome-libs libstdc++ \
libstdc++-devel make pdksh \
sysstat xscreensaver setarch
the result is:
[root@bosco software]# rpm -q binutils compat-db compat-libstdc++ \
> control-center gcc gcc-c++ glibc \
> glibc-common gnome-libs libstdc++ \
> libstdc++-devel make pdksh \
> sysstat xscreensaver setarch
binutils-2.15.92.0.2-21
compat-db-4.1.25-9
package compat-libstdc++ is not installed <===== missing
control-center-2.8.0-12.rhel4.5
gcc-3.4.6-3.1
gcc-c++-3.4.6-3.1
glibc-2.3.4-2.25
glibc-common-2.3.4-2.25
gnome-libs-1.4.1.2.90-44.2
libstdc++-3.4.6-3.1
libstdc++-devel-3.4.6-3.1
make-3.80-6.EL4
pdksh-5.2.14-30.3
package sysstat is not installed <===== missing
xscreensaver-4.18-5.rhel4.12
setarch-1.6-1
Attempt to load compat-libstdc++ results in "is already installed" message:
[root@bosco RPMS]# pwd
/media/cdrecorder/Enterprise/RPMS
[root@bosco RPMS]# ls -l compat*
-r--r--r-- 3 root root 231663 Oct 9 18:22 compat-libstdc++-33-3.2.3-47.3.i386.rpm
[root@bosco RPMS]# rpm -iv compat-libstdc++-33-3.2.3-47.3.i386.rpm
warning: compat-libstdc++-33-3.2.3-47.3.i386.rpm: V3 DSA signature: NOKEY, key ID b38a8516
Preparing packages for installation...
package compat-libstdc++-33-3.2.3-47.3 is already installed
The query for compat-libstdc++ still returns "package compat-libstdc++ is not
installed":
[root@bosco RPMS]# rpm -q compat-libstdc++
package compat-libstdc++ is not installed
SOLUTION:
Use correct package name when querying RPM:
[root@bosco RPMS]# rpm -q compat-libstdc++-33
compat-libstdc++-33-3.2.3-47.3
EXPLANATION:
If you try to force load compat-libstdc++-33-3.2.3-47.3.i386.rpm it will reveal
the "real" name of the package which is compat-libstdc++-33 NOT
compat-libstdc++:
[root@bosco RPMS]# rpm -ivh --force compat-libstdc++-33-3.2.3-47.3.i386.rpm
warning: compat-libstdc++-33-3.2.3-47.3.i386.rpm: V3 DSA signature: NOKEY, key
ID b38a8516
Preparing... ########################################### [100%]
1:compat-libstdc++-33 ########################################### [100%]
^^^^^^^^^^^^^^^^^^^
notice that it's called compat-libstdc++-33 NOT compat-libstdc++
[root@bosco RPMS]# rpm -qi compat-libstdc++-33
Name : compat-libstdc++-33 Relocations: (not relocatable)
Version : 3.2.3 Vendor: (none)
Release : 47.3 Build Date: Fri 06 Oct 2006 08:14:55 PM PDT
Install Date: Tue 27 Feb 2007 05:20:44 PM PST Build Host: ca-build10.us.oracle.com
Group : System Environment/Libraries Source RPM: compat-gcc-32-3.2.3-47.3.src.rpm
Size : 733392 License: GPL
Signature : DSA/SHA1, Mon 09 Oct 2006 06:22:45 PM PDT, Key ID 2e2bcdbcb38a8516
URL :http://gcc.gnu.org
Summary : Compatibility standard C++ libraries
Description : The libstdc++ package contains compatibility standard C++ library from GCC 3.3.4.
UPDATE:
you can also get compat-libstdc++-33 from the Oracle EL CD#1:
compat-libstdc++-33-3.2.3-47.3.i386.rpm
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/16313359/viewspace-682338/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/16313359/viewspace-682338/