Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to run Oracle 9.2 with glibc 2.3.1-r3
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
jbuberel
n00b
n00b


Joined: 02 Feb 2003
Posts: 31
Location: Sunnyvale, CA

PostPosted: Thu Dec 18, 2003 7:54 pm    Post subject: Problem with 9.2.0.2 'Standard' database server install Reply with quote

Although I am running a completely up-to-date Gentoo install (latest glibc, gcc, as well as lib-compat), I get an error during the 'Linking Oracle9i Database' step at the 77% mark:
Code:
Error invoking target ioracle of makefile /opt/oracle/OraHome1/rdbms/lib/ins_rdbms.mk

Looking at the installer log only tells me this:
Code:
Calling action unixActions2.2.0.6.0  make
        installMakePath = /usr/bin/make
        installMakeFileName = /opt/oracle/OraHome1/rdbms/lib/ins_rdbms.mk
        installTarget = ioracle
        undoMakeFileName =
        installArguments = ORACLE_HOME=/opt/oracle/OraHome1,
        logFile = /opt/oracle/OraHome1/install/make.log
        undoTarget =

Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target ioracle of makefile /opt/oracle/OraHome1/rdbms/lib/ins
_rdbms.mk
Exception Severity: 1

And looking at the make-file output log tells me this:
Code:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: /opt/oracle/OraHom
e1/rdbms/lib/oracle: hidden symbol `__fixunssfdi' in /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/lib
gcc.a(_fixunssfdi.oS) is referenced by DSO
collect2: ld returned 1 exit status
make: *** [/opt/oracle/OraHome1/rdbms/lib/oracle] Error 1

Google searches on varios aspects of that error message do not return any applicable results. Any thoughts/suggestions?
Back to top
View user's profile Send private message
grrrrr
n00b
n00b


Joined: 05 Nov 2002
Posts: 38
Location: belgium

PostPosted: Fri Dec 19, 2003 12:15 pm    Post subject: problem running dbca Reply with quote

i have a problem running the database assistant:
Code:

oracle@blackie bin $ ./dbca
./dbca: line 125:  2870 Segmentation fault      $JRE_DIR/bin/jre -DORACLE_HOME=$OH -DJDBC_PROTOCOL=thin -mx64m -classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS
oracle@blackie bin $

i've tried with both version 1 and 3 of blackdown jre 1.1.8, it keeps segfaulting :(
any ideas?

Edit: hmm netca seems to work OK? doesn't that one use te same JRE?

Edit2: solved it, you need to set THREADS_FLAG=native
Back to top
View user's profile Send private message
incubator
Guru
Guru


Joined: 05 Jun 2003
Posts: 584
Location: Belgium

PostPosted: Fri Jan 02, 2004 3:34 pm    Post subject: Reply with quote

just exactly "where" are these installation instructions for oracle in gentoo (or for general linux)?
I browsed through the oracle website but since it's navigation is hectic, all I found was how to extract the files.
Back to top
View user's profile Send private message
grrrrr
n00b
n00b


Joined: 05 Nov 2002
Posts: 38
Location: belgium

PostPosted: Fri Jan 02, 2004 9:43 pm    Post subject: Reply with quote

incubator wrote:
just exactly "where" are these installation instructions for oracle in gentoo (or for general linux)?
I browsed through the oracle website but since it's navigation is hectic, all I found was how to extract the files.


https://forums.gentoo.org/viewtopic.php?t=106527
Back to top
View user's profile Send private message
redan31
n00b
n00b


Joined: 26 Oct 2004
Posts: 1

PostPosted: Tue Oct 26, 2004 5:41 pm    Post subject: Installing Oracle 9.2 in Gentoo Reply with quote

Hello everyone,

Sorry to jump into this forum but as a desperate newbie, I do have some problems in installing Oracle 9.2 in my Gentoo system (up to date). Did anybody had the following problem:

Initializing Java Virtual Machine from /tmp/OraInstall2004-10-26_01-26-41PM/jre/bin/java. Please wait...head: `-1' option is obsolete; use `-n 1' since this will be removed in the future
Error occurred during initialization of VM
Unable to load native library: /tmp/OraInstall2004-10-26_01-26-41PM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

If anybody suffered similar problem, does it have a solution? I've been reading this forum for the past couple days... And some people seem to have it up and running... Could they provide some words/info/howtos of their expertise...

Current version of gcc (3.3.3), glibc (2.3.3), java (sun-jdk-1.4.2.05)

My .bashrc:

JAVA_HOME=/opt/sun-jdk-1.4.2.05
PATH=/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/opt/sun-jdk-1.4.2.05/bin:/opt/sun-jdk-1.4.2.05/jre/bin:/opt/sun-jdk-1.4.2.05/jre/javaws:/opt/oracle/product/9.2.0/bin

LD_ASSUME_KERNEL=2.4.1

CLASSPATH=/opt/oracle/product/9.2.0/JRE:/opt/oracle/product/9.2.0/jlib:/opt/oracle/product/9.2.0/rdbms/jlib:/opt/oracle/product/9.2.0/network/jlib

ORACLE_HOME=/opt/oracle/product/9.2.0

Thanks... 8) :lol:
Back to top
View user's profile Send private message
graadz
n00b
n00b


Joined: 12 Aug 2002
Posts: 55
Location: Enschede, Netherlands

PostPosted: Sat Nov 13, 2004 4:26 pm    Post subject: Re: Installing Oracle 9.2 on Gentoo linux Reply with quote

This is a known issue. You can find the workaround here. Oracle uses its own JDK and JAVA settings. If you have messed around with the Oracle scripts (assigning other JVMs or settings for instance) you probably want to restore the scripts to the original state.

So,

Login or su to oracle

Code:

root@boracle # su - oracle
oracle@boracle $



Compile the workaround.

Code:

oracle@boracle $ gcc -O2 -shared -o ~/libcwait.so -fpic -xc - <<EOF
#include <errno.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <sys/wait.h>
pid_t
__libc_wait (int *status)
{
  int res;
  asm volatile ("pushl %%ebx\n\t"
                "movl %2, %%ebx\n\t"
                "movl %1, %%eax\n\t"
                "int $0x80\n\t"
                "popl %%ebx"
                : "=a" (res)
                : "i" (__NR_wait4), "0" (WAIT_ANY), "c" (status), "d" (0),
                  "S" (0));
  return res;
}
EOF
oracle@boracle $



Pre-load the library

Code:


oracle@boracle $ export LD_PRELOAD=$HOME/libcwait.so



Now you can run runInstaller to start with your Oracle installation. The LD_ASSUME_KERNEL line was not needed in my case (running 2.6.9 kernel).

BTW, you may want to consider putting the LD_PRELOAD in your .profile since the Oracle Enterprise Manager also runs into this __libc_wait error.

G

sys-kernel/ac-sources 2.6.9-ac7
sys-devel/gcc 3.3.4
sys-libs/glibc 2.3.4
sys-libs/lib-compat 1.4
Oracle 9.2.0.4.0 (used original diskset)
Oracle patch after install of 9iR2: 9.2.0.5.0
dev-db/tora 1.3.14.1-r2

redan31 wrote:
Hello everyone,

Sorry to jump into this forum but as a desperate newbie, I do have some problems in installing Oracle 9.2 in my Gentoo system (up to date). Did anybody had the following problem:

Initializing Java Virtual Machine from /tmp/OraInstall2004-10-26_01-26-41PM/jre/bin/java. Please wait...head: `-1' option is obsolete; use `-n 1' since this will be removed in the future
Error occurred during initialization of VM
Unable to load native library: /tmp/OraInstall2004-10-26_01-26-41PM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

If anybody suffered similar problem, does it have a solution? I've been reading this forum for the past couple days... And some people seem to have it up and running... Could they provide some words/info/howtos of their expertise...

Current version of gcc (3.3.3), glibc (2.3.3), java (sun-jdk-1.4.2.05)

My .bashrc:

JAVA_HOME=/opt/sun-jdk-1.4.2.05
PATH=/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/opt/sun-jdk-1.4.2.05/bin:/opt/sun-jdk-1.4.2.05/jre/bin:/opt/sun-jdk-1.4.2.05/jre/javaws:/opt/oracle/product/9.2.0/bin

LD_ASSUME_KERNEL=2.4.1

CLASSPATH=/opt/oracle/product/9.2.0/JRE:/opt/oracle/product/9.2.0/jlib:/opt/oracle/product/9.2.0/rdbms/jlib:/opt/oracle/product/9.2.0/network/jlib

ORACLE_HOME=/opt/oracle/product/9.2.0

Thanks... 8) :lol:


Last edited by graadz on Sun Nov 14, 2004 5:35 pm; edited 11 times in total
Back to top
View user's profile Send private message
graadz
n00b
n00b


Joined: 12 Aug 2002
Posts: 55
Location: Enschede, Netherlands

PostPosted: Sat Nov 13, 2004 11:23 pm    Post subject: Reply with quote

The "Administrator" install of the Oracle 9 client installation requires 920 MB. Runtime only installation requires 288MB.

BTW, if you plan to install tora, please be sure you install the Oracle Call Interface package as well (Does not automatically happen if you choose for client install).

G
sys-kernel/ac-sources 2.6.9-ac7
sys-devel/gcc 3.3.4
sys-libs/glibc 2.3.4
sys-libs/lib-compat 1.4
Oracle 9.2.0.4.0 (used original diskset)
Oracle patch after install of 9iR2: 9.2.0.5.0
dev-db/tora 1.3.14.1-r2

leon_73 wrote:
Hi all,

could some of you tell how much space do I need to install just the client on my gentoo

Thanks to all.

Leo
Back to top
View user's profile Send private message
jmarcus
Apprentice
Apprentice


Joined: 12 Jun 2004
Posts: 197

PostPosted: Thu Jan 06, 2005 1:40 pm    Post subject: Reply with quote

I know this was mentioned before but when I run the install I get this error, how do I resolve it?
oracle@orabuild Disk1 $ ./runInstaller -n 1 -ignoreSysPrereqs
oracle@orabuild Disk1 $ Initializing Java Virtual Machine from /tmp/OraInstall2005-01-05_11-15-29PM/jre/bin/java. Please wait...
head: `-1' option is obsolete; use `-n 1' since this will be removed in the future
Error occurred during initialization of VM
Unable to load native library: /tmp/OraInstall2005-01-05_11-15-29PM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

I began to follow the recommendation of changing the glibc version but got this error, this could be the core of my problem:
orabuild / # ebuild /usr/portage/sys-libs/glibc/glibc-2.3.2-r12.ebuild compile
orabuild / # ebuild /usr/portage/sys-libs/glibc/glibc-2.3.1-r3.ebuild qmerge
!!! doebuild: /usr/portage/sys-libs/glibc/glibc-2.3.1-r3.ebuild not found for qmerge
orabuild / # ebuild /usr/portage/sys-libs/glibc/glibc-2.3.1-r12.ebuild qmerge
!!! doebuild: /usr/portage/sys-libs/glibc/glibc-2.3.1-r12.ebuild not found for qmerge
orabuild / # ebuild /usr/portage/sys-libs/glibc/glibc-2.3.2-r12.ebuild qmerge
>>> md5 src_uri ;-) glibc-2.3.2.tar.bz2
>>> md5 src_uri ;-) glibc-linuxthreads-2.3.2.tar.bz2
>>> md5 src_uri ;-) glibc-2.3.2-branch-update-20031115.patch.bz2
!!! mydo=qmerge, but install phase hasn't been ran
orabuild / #
Back to top
View user's profile Send private message
jmarcus
Apprentice
Apprentice


Joined: 12 Jun 2004
Posts: 197

PostPosted: Thu Jan 06, 2005 1:47 pm    Post subject: Reply with quote

I didn't see page 2 so if my post is frustating, give me a minute while I finish reading.
:oops:
Back to top
View user's profile Send private message
sheveron
n00b
n00b


Joined: 10 Oct 2005
Posts: 6

PostPosted: Mon Oct 10, 2005 7:14 am    Post subject: Reply with quote

Hi all!

I'm using Gentoo 2005.0 with glibc 2.3.4.20041102-r1.
When i try to run intaller of Oracle 9.2.0.1 it tells me that there is some problem in JRE.
It problem has been solved.
Now, there is another problem.
When i push the Install button,
Oracle intaller just take 1 minute and show first sreen of intaller...
Installation has not been finished!

Have you got this problem? Help, please
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum