Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: SuSE 7.1 & Oracle 8.1.7

Re: SuSE 7.1 & Oracle 8.1.7

From: Walter Dorninger <walter.dorninger_at_aon.at>
Date: Mon, 19 Mar 2001 13:06:45 +0100
Message-ID: <3ab5f5c4$0$20148@SSP1NO25.highway.telekom.at>

No Problem Michael,

Your problem is that SuSE 7.1 ships with glibc 2.2.

You have two solutions:
(1) Wait until the guys at ORACLE recompiled their stuff using glibc 2.2 - I think they are planning to release a patch for this in the next few days, weeks... ;-)
(2) You will use glibc 2.1 with ORACLE.

I'll explain method (2) and who I got the stuff up and running with glibc 2.1 (it's quite strait forward).
btw. this also works with RH 7.0 with 2.2.16 kernel and 2.4.0 kernel and 2.4.1-pre11 kernels

My first problem was that the installer did not work for Oracle 8.1.7. I had to unset the LANG variable on my system ("unset LANG"). Now the installation worked fine.

Now we come to the tricky part. Starting up an instance will fail with the installation. Therefore you have to change the glibc library used by Oracle.

(1) Install the compat-glibc RPM for 2.1.3.x (2) cd to the directory where compat-glibc installed the files (for me it's /usr/i386-glibc21-linux/lib).
(3) Copy the following files to $ORACLE_HOME/lib: libc-2.1.3.so
libpthread.so
libdl.so
ld-linux.so.2

For me, several of these are symbolic links, so you'll need to copy the target of the symbolic link and rename it to the link name when you copy it to $ORACLE_HOME/lib

e.g. if ls -l shows:
ld-linux.so.2 -> ld-2.1.3.so
libc-2.1.3.so
libdl.so->libdl.so.2
libpthread.so -> libpthread.so.0

Then you will:

cp ld-2.1.3.so $ORACLE_HOME/lib/ld-linux.so.2
cp libc-2.1.3.so $ORACLE_HOME/lib
cp libdl.so.2 $ORACLE_HOME/lib/libdl.so

cp libpthread.so.0 $ORACLE_HOME/lib/libpthread.so

(4) Create a file in $ORACLE_HOME/lib called lib.so with the following contents (as a single line)
GROUP(<OH>/lib/libc-2.1.3.so <OH>/lib/ld-linux.so.2 <CL>/libc_nonshared.a)

Substitute the value of $ORACLE_HOME for <OH> and the location of the compat-glibc directory for <CL>

e.g. the file should contain a line like the following

GROUP (/u01/app/oracle/product/8.1.7/lib/libc-2.1.3.so /u01/app/oracle/product/8.1.7/lib/ld-linux.so.2 /usr/i386-glibc21-linux/lib/libc_nonshared.a)

This should be all ONE line !!

(5) cd $ORACLE_HOME/bin

(6) Run the following command on the UNIX prompt:

relink all

(7) you are done.

Thanks to Richard Rankin for this simple method, Thanks to John Smiley (Lucent Technologies) who provided me with this method.

If you have further questions let me know...

Walter Dorninger
walter.dorninger_at_aon.at

Michael Wolff wrote:

> Hey folks,
>
> I tried to install Oracle 8.1.7 EE on SuSE 7.1 installation running
> a kernel version 2.4.2.
>
> Everything seems to be ok merely the database creation always fails, with
> "No connection to oracle" or something else.
>
> Any ideas ?
>
> Thanx in advance
> Michael
>
>
>
>
>
  Received on Mon Mar 19 2001 - 06:06:45 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US