How to install Oracle Developer Suite 9.0.2.0.0 [message #99216] |
Wed, 03 November 2004 21:34 |
Budi Susanto
Messages: 1 Registered: November 2004
|
Junior Member |
|
|
Hai,
i have tried to install Oracle Developer Suite 9.0.2.0.0 in Fedora Core 2 with kernel 2.6.5-1.358, but i got an error when run /mnt/cdrom/runInstaller:
Error occurred during initialization of VM
Unable to load native library: /tmp/OraInstall2004-11-04_02-35-43PM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
Can anybody tell me how to install this packet in Fedora Core 2 box?
thanks for you help.
regards
budsus
|
|
|
Re: How to install Oracle Developer Suite 9.0.2.0.0 [message #110478 is a reply to message #99216] |
Mon, 07 March 2005 18:41 |
hudo
Messages: 165 Registered: May 2004
|
Senior Member |
|
|
Hello,
I encountered the same problem by installing the Oracle DB 9.2 on Fedora Core 3
This seems to be a general problem with all Oracle Products and Fedora Core 1, 2, 3
Solution:
==========
Save this as libcwait.c and do as explained in the comment:
/* Compile with
gcc -shared -o libcwait.so libcwait.c -fpic -O
and use it by adding
LD_PRELOAD=/path/to/libcwait.so
in the environment of the application with the bug.
*/
#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;
}
Then do
export LD_PRELOAD=/path/to/libcwait.so
/media/cdrecorder/runInstaller
Sources:
=========
https://www.redhat.com/archives/fedora-list/2004-November/msg00016.html
ftp://people.redhat.com/drepper/libcwait.c
and another solution:
http://www.puschitz.com/InstallingOracle9i.shtml
Regards
|
|
|
|