Re: Oracle 9.2 on RH ES 4 x86_64

  • From: "Manoj Jain" <manoj67@xxxxxxxxx>
  • To: jkstill@xxxxxxxxx
  • Date: Wed, 22 Mar 2006 01:51:30 -0800

My tips from my earlier installation on linux ....

1. You will need 32 Bit RPM package of glibc-devel in addition to 64 bit
package.

2. Oracle provided rpm for binutils neccessary for 10gR2 install on x86_64

( This may or may not be relevant. But in my case I used and avoided some
error during installtion. )


Details of this:-
http://oss.oracle.com/projects/compat-oracle/files/RedHat/

binutils-2.15.92.0.2-13.0.0.0.2.x86_64.rpm  2005.10.05
7362f50479940072e79136125ea32321
RHEL 4 Update 1 patched binutils neccessary for 10gR2 install on x86_64

Apply this RPM to replace existing binutils-2.15.92.0.2.15 (x86_64) that is
installed via on my server earlier.

rpm -Uvh --force binutils-2.15.92.0.2-13.0.0.0.2.x86_64.rpm


3. Validate the presence of installed packages by following rpm queries...



rpm --query --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" \
binutils compat-db control-center gcc gcc-c++ glibc glibc gnome-libs
libstdc++  \
libstdc++-devel make pdksh sysstat xscreensaver libaio glibc-devel
compat-libstdc++-33

Example:-
# rpm --query --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" \
> binutils compat-db control-center gcc gcc-c++ glibc glibc gnome-libs
libstdc++  \
> libstdc++-devel make pdksh sysstat xscreensaver libaio glibc-devel
compat-libstdc++-33

binutils-2.15.92.0.2.13.0.0.0.2 (x86_64)   ======> From Oracle see above may
need to lower the version as I did
compat-db-4.1.25.9 (i386)
compat-db-4.1.25.9 (x86_64)
control-center-2.8.0.12.rhel4.2 (x86_64)
gcc-3.4.4.2 (x86_64)
gcc-c++-3.4.4.2 (x86_64)
glibc-2.3.4.2.13 (i686)       ===============> 32 bit
glibc-2.3.4.2.13 (x86_64)     ===============> 64 bit
glibc-2.3.4.2.13 (i686)
glibc-2.3.4.2.13 (x86_64)
gnome-libs-1.4.1.2.90.44.1 (x86_64)
libstdc++-3.4.4.2 (i386)
libstdc++-3.4.4.2 (x86_64)
libstdc++-devel-3.4.4.2 (x86_64)
make-3.80.5 (x86_64)
pdksh-5.2.14.30.3 (x86_64)
sysstat-5.0.5.1 (x86_64)
xscreensaver-4.18.5.rhel4.9 (x86_64)
libaio-0.3.103.3 (i386)
libaio-0.3.103.3 (x86_64)
glibc-devel-2.3.4.2.13 (x86_64)     ===============> 64 bit
glibc-devel-2.3.4.2.13 (i386)       ===============> 32 bit ( should be
there in addition to 64 bit )
compat-libstdc++-33-3.2.3.47.3 (i386)
compat-libstdc++-33-3.2.3.47.3 (x86_64)
#


Many of the packages are needed to satisfy the dependency to install other
necessary packages.

This worked for 10G install, I think I installed 9i using same setup ( not
sure 100%, dont remember exactly now as it was
long time back ).

Check if you have all the above pieces, and if there is something missing
try to add it, and re-try.

This may or may not work, but I think worth a try..

Hope this helps..


Thanks
Manoj
On 3/21/06, Jared Still <jkstill@xxxxxxxxx> wrote:
>
> Re the 9i problem I forgot to include in last post:
>
> When the installer fails when linking, edit the following
> files to remove references to extproc32:
> OH/rdbms/lib/ins_rdbms.mk
> OH/rdbms/lib/env_rdbms.mk
>
> Then click 'retry' on the installer.
>
> If you need the 32bit extproc, you will have to contact OWS.
>
>
> Jared
>
>
>  On 3/20/06, Steve Perry < sperry@xxxxxxxxxxx> wrote:
>
> > I can't help with the 9i, but I ran into the 10g issue before. In fact,
> > the sys admin questioned whether or not Oracle was truly 64-bit or changed
> > just enough to run on a 64-bit (i.e. just a marketing bullet). We also
> > thought that maybe the installer was still 32-bit and that's why it required
> > so many 32-bit packages.
> >
> > I'm starting to get a lot more requests for 64-bit oracle instead of
> > 32-bit so please update us with what you find out.
> >
> >
> > Steve
> >
> >  On Mar 20, 2006, at 06:04 PM, Jared Still wrote:
> >
> >
> > I've run into a few problems installing both 10.2.0.1 and 9.2.0.7 on
> > the 64 bit version of RH ES 4.
> >
> > These are also 64bit versions of Oracle BTW.
> >
> > Neither 10gR2 or 9iR2 will install cleanly without the 32 bit
> > version of glibc installed.  This is partially rectified by installing
> > the version of the glibc libs that match the version of the 64 bit
> > glibc.
> >
> > 10g will install and link cleanly with the 32 bit glibc installed,
> > but this does not help 9i.
> >
> > The 9i link will fail on the 32bit version of extproc:
> >
> >  make -f t32.mk install
> > chmod 755 /u01/app/oracle/product/9.2.0/rpt/bin
> > make -f /u01/app/oracle/product/9.2.0/rpt/rdbms/lib/t32.mk
> > /u01/app/oracle/product/9.2.0/rpt/rdbms/lib/extproc32
> > EXTPROC=/u01/app/oracle/product/9.2.0/rpt/rdbms/lib/extproc32 LIBDIR=lib32
> > LDFLAGS='-m32 -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME)
> > $(LDPATHFLAG)$(LIBHOME)stubs/'
> > make[1]: Entering directory
> > `/u01/app/oracle/product/9.2.0/rpt/rdbms/lib'
> >
> > Linking external procedure agent
> > (/u01/app/oracle/product/9.2.0/rpt/rdbms/lib/extproc32)
> > rm -f /u01/app/oracle/product/9.2.0/rpt/rdbms/lib/extproc32
> > gcc -m32 -o /u01/app/oracle/product/9.2.0/rpt/rdbms/lib/extproc32
> > -L/u01/app/oracle/product/9.2.0/rpt/rdbms/lib32/
> > -L/u01/app/oracle/product/9.2.0/rpt/lib32/
> > -L/u01/app/oracle/product/9.2.0/rpt/lib32/stubs/
> > /u01/app/oracle/product/9.2.0/rpt/rdbms/lib32/hormc.o
> > /u01/app/oracle/product/9.2.0/rpt/rdbms/lib32/defopt.o
> > /u01/app/oracle/product/9.2.0/rpt/rdbms/lib32/homts.o               -lagtsh
> > -lpls9  -lplp9   -lclntsh -lnls9  -lcore9 -lnls9 -lcore9 -lnls9 -lxml9
> > -lcore9 -lunls9 -lnls9
> > /u01/app/oracle/product/9.2.0/rpt/lib32/libgeneric9.a   `cat
> > /u01/app/oracle/product/9.2.0/rpt/lib32/sysliblist`
> > -Wl,-rpath,/u01/app/oracle/product/9.2.0/rpt/lib:/lib:/usr/lib -lm    `cat
> > /u01/app/oracle/product/9.2.0/rpt/lib32/sysliblist` -ldl -lm    -lvsn9
> > /usr/lib/gcc/x86_64-redhat-linux/3.4.4/libgcc_s_32.so: undefined
> > reference to ` dl_iterate_phdr@xxxxxxxxxxx'
> > collect2: ld returned 1 exit status
> > make[1]: *** [/u01/app/oracle/product/9.2.0/rpt/rdbms/lib/extproc32]
> > Error 1
> > make[1]: Leaving directory `/u01/app/oracle/product/9.2.0/rpt/rdbms/lib'
> > make: *** [extproc32] Error 2
> >
> > The  only hit on MetaLink for `dl_iterate_phdr@xxxxxxxxxxx ' is  Note
> > 335515.1
> > This note instructs you to install  patch 4198954, the
> > compat-oracle-rhel4 package.
> >
> > As patch 4198954 replaces 64bit /usr/bin/gcc and 64bit /usr/bin/g++ with
> > shell scripts that call
> > the 32 bit compilers, all that installing this patch accomplishes is to
> > break your system.
> >
> > The compat-libcwait package is also not the answer.
> >
> > Any ideas on how to fix this?
> >
> > I don't really care if extproc32 is installed or not, but the fact that
> > it doesn't link
> > needlessly complicates installation and patching of the software.
> >
> > Thanks,
> >
> > --
> > Jared Still
> > Certifiable Oracle DBA and Part Time Perl Evangelist
> >
> >
> >
> >
>
>
>
> --
> Jared Still
> Certifiable Oracle DBA and Part Time Perl Evangelist
>

Other related posts: