Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Newbie help for Oracle client installation on Linux
"Yousaf" <yousaf_at_NOBLOODYSPAM.freeserve.co.uk> wrote in message
news:1057511335.178915_at_ananke.eclipse.net.uk...
> Dear all,
>
> I have been trying to install Oracle 8i Client tools (SQL*Plus etc) but
> right at the start I am getting the following error:
>
> [yousaf_at_tom Disk1]$ ./runInstaller
> Initializing Java Virtual Machine from
> ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/
> [yousaf_at_tom Disk1]$
>
/home/yousaf/tmp/Disk1/stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Exp
anded/linux,
> version GLIBC_2.0 not defined in file libc.so.6 with link time reference
> (libzip.so)
> Unable to initialize threads: cannot find class java/lang/Thread
> Could not create Java VM
>
> Which java environment is it trying to use? looks like its trying to use
its
> own jre. Also whats with the GLIBC error? I got glibc 2.3.2, do I need to
> specify that in an installation script?
>
> Could anyone help me through this installation?
> --
> Yousaf
> Linux version 2.4.20-8
> gcc version 3.2.2
> Red Hat 9
The Oracle Universal Installer comes packaged with its own JRE - if I remember right it's something like JRE 1.1.8 for Oracle 8i and 1.2.x for 9i. Generally speaking the packaged JRE will run with a bit of massaging though I seem to recall that, with a bit of fiddling, you can get an alternative JRE to kick off instead of the packaged one.
I'd advise issuing an unset LANG before running the installer and setting your ORACLE_BASE, ORACLE_HOME, ORACLE_SID and CLASSPATH before running the runInstaller script. I've found under SLES8 (SuSE Linux Enterprise Server) that for 9i you might need to issue an "export THREAD_FLAGS=native".
It has been a while since my last 8i install but I'm sure that on the install CD from the root there is a "install/linux" directory containing the script runIns.sh - try executing this script directly rather than calling runInstaller. I might have the location mixed up, if so try "find /cdrom -type f -name runIns.sh -print" replacing cdrom with wherever you've got the CD mounted.
The GLIBC_2.0 error is not one I've encountered before but you could try the LD_ASSUME_KERNEL environment variable. For example, "export LD_ASSUME_KERNEL=2.4.1".
Installing Oracle 8i on Linux is a serious pain but achievable with a bit of effort and "google-ing". If possible I'd recommend giving 9i serious consideration.
HTH Received on Sun Jul 06 2003 - 13:21:15 CDT
![]() |
![]() |