LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-24-2004, 04:17 AM   #1
fordown
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
Error on install:GLIBC_2.0 not defined


I want install run a self_extract bin file for install a soft based java.(visibroker for java)
and when I run it,if raise such a error.

Error occurred during initialization of VM
Unable to load native library: /tmp/install.dir.5809/Linux/resource/jre/lib/i386/ libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

I use "advanced server 3"? version.becuse it support my hardware(846GL)

and installed jdk 1.4.2 in /usr/local/java meet such a error on install Vbj

I have set this
LD_ASSUME_KERNEL=2.2.5
export LD_ASSUME_KERNEL

How can I resolve this problem?
 
Old 09-28-2004, 10:29 AM   #2
fordown
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Original Poster
Rep: Reputation: 0
??

anybody can help me?
 
Old 10-01-2004, 10:44 AM   #3
tliebscher
LQ Newbie
 
Registered: Oct 2004
Distribution: RHE ES 3 / Suse 9.1
Posts: 2

Rep: Reputation: 0
Hi,

this is a bug in the installer. you can download a patch from oracle http://metalink.oracle.com

Here is the description from Oracle

The information in this article applies to:
Oracle Universal Installer - Version: 2.1 to 2.2
Linux x86
Red Hat Advanced Server
Symptoms
When running the installer on Red Hat AS 3.0 it fails with the next error messages :

/releases/core/LINUX/32bit/rdbms/920/Disk1> ./runInstaller
Initializing Java Virtual Machine from /tmp/OraInstall2004-02-24_10-40-59AM/jre/bin/java. Please wait...
Error occurred during initialization of VM
Unable to load native library: /tmp/OraInstall2004-02-24_10-40-59AM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

You might also receive different error messages depending on what Oracle product you're trying to install.

If trying to install Oracle apps 11.5.7 you might receive the following error.
.
Executing AutoConfig for TBOLI...
/tboli/oracle/product/jre/1.1.8/bin/../lib/i686/green_threads/libzip.so:
symbolerrno, 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
Cause
This is a product defect.
Fix
Please download and install the patch for Bug 3006854 available in Metalink.

Read the installation instructions in the readme.txt file included in the patch :
- unzip p3006854_9204_LINUX.zip
- Login as the root user,
- Set your current directory to the directory where the patch is located.
- sh rhel3_pre_install.sh


Notes:
- You do need root privileges to run the last command line.
- This patch is not specific to a particular Oracle version, but you'll find it using version 9.2.0.4.
- The patch is needed before running the Oracle Universal Installerfor any (certified) Oracle product on Red Hat Enterprise Linux 3.0.
- Installer of Oracle10g does not need this patch.
 
Old 10-01-2004, 12:30 PM   #4
xannix
LQ Newbie
 
Registered: Jun 2003
Posts: 8

Rep: Reputation: 0
I am getting the exact same issue except with the Coldfusion 6.0 installer and Redhat AS 3.0

Is there anything i can do ?
I have tried the LD_Path aswell, And have tried 4 different JDK's with the same results.

Error occurred during initialization of VM
Unable to load native library: /tmp/install.dir.3413/Linux/resource/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

Has anyone solved this....
 
Old 10-01-2004, 12:43 PM   #5
tliebscher
LQ Newbie
 
Registered: Oct 2004
Distribution: RHE ES 3 / Suse 9.1
Posts: 2

Rep: Reputation: 0
If you are still on kernel 2.4.x try that one

LD_ASSUME_KERNEL=2.4.1; export LD_ASSUME_KERNEL

no guarantee found that one also at Oracle support.
 
Old 06-29-2007, 05:26 PM   #6
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Thumbs up Here's another solution to the problem (this one is cute):

Quote:
Solution
This issue was reported to Quality Engineering as PFOI62AJ2U. However, it was determined to be a software limitation.
Workaround:
The workaround consists of preloading a shared library using the LD_PRELOAD environment variable before launching the Language Pack

1. Get the file ftp://people.redhat.com/drepper/libcwait.c.
2. check if gcc is installed with "rpm -qa | grep gcc".
3. Install gcc if not present.
4. Compile the downloaded file with "gcc -shared -o libcwait.so -O -g libcwait.c".
5. Launch "export LD_PRELOAD=/path/to/libcwait.so".
6. Launch the LP installer.

Contents of the libcwait.so file:

#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;
}
It worked...

- Perry
 
Old 08-12-2008, 05:25 PM   #7
markatharvestinfotec
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Rep: Reputation: 0
Thumbs up The solution works great

Thanks perry, it worked out great..

here is the problem I had
When I was trying to create idl2java file
Can't load library "/tools/sun/jdk/1.2.2/linux/jre/lib/i386/libjava.so", because sun/jdk/1.2.2/linux/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

Solution worked, except i had to go to

http://people.redhat.com/drepper/libcwait.c

to get the .c file, everything else stays same.
 
Old 04-02-2009, 06:28 AM   #8
MafiaInc
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
I love you guys
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GLIBC_2.3.4 not defined in file libc.so.6 when running gnuplot azariaya Linux - Software 7 01-05-2005 05:57 PM
Error on install:GLIBC_2.0 not defined fordown Linux - Software 2 09-20-2004 01:42 AM
Problem with Insight II - version GLIBC_2.2 not defined in file libc.so.6... belga Linux - Software 3 08-18-2004 02:01 PM
MDK10 official error with "GLIBC_2.0 not defined" lvxiang Mandriva 3 08-16-2004 11:34 AM
GLIBC_2.0 not defined... Redhat 9 installing php -id- Linux - Software 3 05-05-2003 06:13 PM


All times are GMT -5. The time now is 08:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration