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: Install problem for Oracle 8.1.6 on Redhat 7.0

Re: Install problem for Oracle 8.1.6 on Redhat 7.0

From: Scott Schaefer <saschaef_at_one.net>
Date: Sat, 02 Dec 2000 09:45:04 -0500
Message-ID: <3A290AF0.AA356615@one.net>

"John A. Pearson" wrote:
>
> known issue... must install 8.1.6 on redhat 6.2
>

See http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=18391

There is a somewhat-official workaround [published from Oracle Support Services] ...

for RedHat 7.0) Install the following packages:

  compat-egcs-6.2-1.1.2.9
  compat-glibc-6.2-2.1.3.2

and modify all occurrences of CC and LINK definitions in all env_*.mk makefiles in the $ORACLE_HOME software tree from either $(LDCCOM) or gcc to i386-glibc21-linux-gcc.

To better illustrate the needed changes, the lines such as

   CC=cc
   LINK=$(LDCCOM)
   LINK=$(PURECMDS) gcc $(LDFLAGS) $(COMPOBJS)

will become

   CC=i386-glibc21-linux-gcc
   LINK=i386-glibc21-linux-gcc
   LINK=$(PURECMDS) i386-glibc21-linux-gcc $(LDFLAGS) $(COMPOBJS)

You will also need to modify the genclntsh shell script and substitute

   LD="ld -shared -L${ORACLE_HOME}/lib"    LD_RUNTIME="-R${ORACLE_HOME}/lib"
   LD_OPT="-h ${CLNT_LIB}"

with

   LD="i386-glibc21-linux-gcc -shared -L${ORACLE_HOME}/lib"    LD_RUNTIME="-Wl,-R${ORACLE_HOME}/lib"    LD_OPT="-Wl,-h${CLNT_LIB}"

Finally, rebuild libclntsh.so by running 'genclntsh' and relink oracle, svrmgrl etc. using the usual relink commands. You'll get warnings in the relink process but they can be ignored.

This has been tested on env_rdbms.mk, env_sqlplus.mk, env_network.mk but should be working on the other makefiles as well.

Other possible workarounds:


Note that the two latter workarounds will not allow you to relink the Oracle kernel and/or utilities - the resulting binaries will not run under a glibc-2.1.9x system.

> "Eric Kao" <kao.eric_at_home.com> wrote in message
> news:qAzV5.1300$_5.146380_at_news4.rdc1.on.home.com...
> > Hi,
> >
> > I have a problem to install Oracle 8.1.6 on RedHat 7.0.
> > It pop an error message "ORA-03114: not connected to
> > ORACLE" when the Database Configuration Assistant
> > work on creating the database instance.
> >
> > I also try to use the dbassist tool to modify that damaged
> > database instance or create a new one, but it seems halt
> > without any message.
> >
> > Does anyone know what is the problem?
> >
> > Thanks
> >
> > Eric Kao
> >
> >
Received on Sat Dec 02 2000 - 08:45:04 CST

Original text of this message

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