[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Installing oracle 8.1.7 in RH 7.1 - error!!!!



Hi Cristiano,

I had the same problems with RH7.

It seems to be a compiler/linking problem as I read on other newsgroups.
You can not use glibc version 2.2, you have to use version 2.1.3

I tried it with RH6.2  (no update packages or anything else)
and it worked without a problem (when I found out
to use tvm as window manager).

If you have to use RH7 try this:
http://www.zx81.org.uk/computing/oracle/oracle-howto/redhat7.html

Part from the link above:
Here is a step-by-step process for getting Oracle 8.1.6 or 8.1.7
working on systems with glibc 2.2 (don't bother with 8.1.5 if you can
help it):

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 /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 /lib.

For example, 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 /lib/ld-linux.so.2
cp libc-2.1.3.so /lib
cp libdl.so.2 /lib/libdl.so
cp libpthread.so.0 /lib/libpthread.so

4. Create a file in /lib called libc.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>. For example:

My  is:
/u01/app/oracle/product/8.1.7

(Notice the use of the OFA standard? Do yourself and others a favor -
follow the standard. If you don't know what OFA is, please see the
Oracle Administrator's Guide for UNIX.)

and my compat-glibc directory is:

/usr/i386-glibc21-linux/lib

so the GROUP line looks like this for me:

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 is all one line.

5. cd /bin

6. Run the following command from the UNIX prompt:

relink all

All of the Oracle software, including the assitants, will work fine now.

I have used this technique for RedHat 7.0 with the 2.2.16 kernel, as
well as the 2.4.0 and 2.4.1-pre11 kernels.

Thanks to Richard Rankin for this simple and reliable method (there
are others, but they are not as clean).

John Smiley (smiley lucent com)
Sr. Oracle DBA
Lucent Technologies, Inc.

Hope it will work, Have fun, Hendrik

------------------------------------
Hendrik Bahnen
Hendrik Bahnen mummert de
www.mummert.de



----- Original Message -----
From: "Cristiano Sepe" <csepe uol com br>
Newsgroups: linux.redhat.install
Sent: Monday, July 02, 2001 7:05 PM
Subject: Installing oracle 8.1.7 in RH 7.1 - error!!!!


> I am installing the oracle 8.1.7 in a redhat 7.1.
>
> I followed the steps described by the redhat that would be:
> EXPORT LD_ASSUME_KERNEL=2.2.5
> . /usr/1386-glibc21-linux/bin/1386-glibc21-linux-env.sh
> glibc-2.1.3-stubs
>
> at the end of the installation: error:
> /u01/app/oracle/product/8.1.7/lib//libserver8.a: could not read symbols:
> Malformed archive
> collect2: ld returned 1 exit status
>
> - Linking Oracle
> rm -f /u01/app/oracle/product/8.1.7/rdbms/lib/oracle
> gcc -o
>
/u01/app/oracle/product/8.1.7/rdbms/lib/oracle -L/u01/app/oracle/product/8.1
> .7/rdbms/lib/ -L/u01/app/oracle/product/8.1.7/lib/ -Wl,-E
> /u01/app/oracle/product/8.1.7/rdbms/lib/opimai.o
> /u01/app/oracle/product/8.1.7/rdbms/lib/ssoraed.o
> /u01/app/oracle/product/8.1.7/rdbms/lib/ttcsoi.o
> /u01/app/oracle/product/8.1.7/rdbms/lib/kpuasvr.o
> /u01/app/oracle/product/8.1.7/lib/nautab.o
> /u01/app/oracle/product/8.1.7/lib/naeet.o
> /u01/app/oracle/product/8.1.7/lib/naect.o
> /u01/app/oracle/product/8.1.7/lib/naedhs.o
>
/u01/app/oracle/product/8.1.7/rdbms/lib/config.o -lserver8 -lskgxp8 -lclient
> 8 -lvsn8 -lwtcserver8 -lcommon8 -lgeneric8
>
/u01/app/oracle/product/8.1.7/rdbms/lib/defopt.o -lknlopt -lslax8 -lpls8 -lp
>
lp8 -lserver8 -lclient8 -lvsn8 -lwtcserver8 -lcommon8 -lgeneric8 -lknlopt -l
> slax8 -lpls8 -lplp8 `cat
>
/u01/app/oracle/product/8.1.7/rdbms/lib/nmliblist` -ldbicx8 -ldbicx8 -ljox8
> -lserver8 -lwwg8 -lobk `sed -e 's/-ljava//g'
>
/u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8
> `sed -e 's/-ljava//g'
>
/u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclie
>
nt8 -lvsn8 -lwtcserver8 -lcommon8 -lgeneric8 -lmm -lnls8 -lcore8 -lnls8 -lco
> re8 -lnls8 `sed -e 's/-ljava//g'
>
/u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8
> `sed -e 's/-ljava//g'
>
/u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclie
>
nt8 -lvsn8 -lwtcserver8 -lcommon8 -lgeneric8 -ltrace8 -lnls8 -lcore8 -lnls8
> -lcore8 -lnls8 -lclient8 -lvsn8 -lwtcserver8 -lcommon8 -lgeneric8 -lnls8 -
lc
> ore8 -lnls8 -lcore8 -lnls8 -lserver8 `if /usr/bin/ar tv
> /u01/app/oracle/product/8.1.7/rdbms/lib/libknlopt.a | grep "kxmnsd.o" >
> /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo8";
>
fi` -lordts8 -lctxc8 -lctx8 -lzx8 -lgx8 -lctx8 -lzx8 -lgx8 -lordvirt8 -lnls8
>  -lcore8 -lnls8 -lcore8 -lnls8 `cat
> /u01/app/oracle/product/8.1.7/lib/sysliblist` `if [ -f
> /usr/lib/libsched.so ] ; then echo -lsched ; else true;
> fi` -Wl,-rpath,/u01/app/oracle/product/8.1.7/lib:/lib:/usr/lib -lm `cat
> /u01/app/oracle/product/8.1.7/lib/sysliblist` `if [ -f
> /usr/lib/libsched.so ] ; then echo -lsched ; else true; fi` -ldl -lm -ldl
> `sed -e 's/-ljava//g'
>
/u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8
> `sed -e 's/-ljava//g'
> /u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8
> `sed -e 's/-ljava//g'
>
/u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8
> `sed -e 's/-ljava//g'
> /u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8
> `sed -e 's/-ljava//g'
>
/u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8
> `sed -e 's/-ljava//g'
> /u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8
> `sed -e 's/-ljava//g'
>
/u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8
> `sed -e 's/-ljava//g'
> /u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8
> `sed -e 's/-ljava//g'
>
/u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8
> `sed -e 's/-ljava//g'
>
/u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lsql8
>  -lsql8
> /u01/app/oracle/product/8.1.7/lib//libserver8.a: could not read symbols:
> Malformed archive
> collect2: ld returned 1 exit status
> make: *** [/u01/app/oracle/product/8.1.7/rdbms/lib/oracle] Error 1
>
> what can be?
>
> Cristiano Sepe
> Analista de Sistemas
> DATAPAR S.R.L. Informática
> Ciudad del Este - PY
> --------------------------
> @ home: csepe uol com br
> Linux User - 215483
>
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]