LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices



Reply
 
Search this Thread
Old 04-10-2006, 08:26 AM   #1
wearetheborg
Member
 
Registered: Sep 2004
Distribution: Mint 17
Posts: 272

Rep: Reputation: 31
Cannot find compat-libstdc++


I'm trying to install java 5 (j2eesdk-1_4_03).
I get this:
./j2eesdk-1_4_03-linux.bin: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory


I've gathered I need "compat-libstdc++" package
(Last lines of http://livedocs.macromedia.com/coldf...e=00000005.htm

However, urpmi gives:
urpmq compat-libstdc++
no package named compat-libstdc++


Help ?
 
Old 04-10-2006, 09:22 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
An rpm named compat-libstdc++ is meant only for Redhat/Fedora based systems. On Mandriva, the right package to install libstdc++-5.
 
Old 04-10-2006, 05:31 PM   #3
wearetheborg
Member
 
Registered: Sep 2004
Distribution: Mint 17
Posts: 272

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by reddazz
An rpm named compat-libstdc++ is meant only for Redhat/Fedora based systems. On Mandriva, the right package to install libstdc++-5.
I assume u meant libstdc++5; urpmq said no package for libstdc++-5
:
urpmi libstdc++5
To satisfy dependencies, the following 2 packages are going to be installed (6 MB):
libstdc++5-3.3.6-2mdk.i586
libstdc++5-devel-3.3.6-2mdk.i586

...

./j2eesdk-1_4_03-linux.bin
./j2eesdk-1_4_03-linux.bin: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory



It still wont work
 
Old 04-10-2006, 07:12 PM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
That was a typo, I meant libstdc++5. Anyway looking at your error message again, you were given the wrong advice, the right package to install is libstdc++2.10.
 
Old 04-10-2006, 08:13 PM   #5
wearetheborg
Member
 
Registered: Sep 2004
Distribution: Mint 17
Posts: 272

Original Poster
Rep: Reputation: 31
Installed libstdc++2.10. But now the java bin install file hangs:
./j2eesdk-1_4_03-linux.bin
Checking available disk space...
Checking Java(TM) 2 Runtime Environment...
Extracting Java(TM) 2 Runtime Environment files...
*** glibc detected *** corrupted double-linked list: 0x080643e0 ***
Deleting temporary files...


At this point the program hangs (CTRL C wont kill it, I have to do kill -9)
ps x
32250 pts/4 S+ 0:03 ./j2eesdk-1_4_03-linux.bin
32327 pts/5 Ss 0:00 /bin/bash
32371 pts/5 R+ 0:00 ps x
 
Old 04-10-2006, 10:33 PM   #6
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
I am not sure how to resolve that one. Is there any specific reason why you are installing j2eesdk 1.4 instead of 1.5.
 
Old 04-10-2006, 10:48 PM   #7
wearetheborg
Member
 
Registered: Sep 2004
Distribution: Mint 17
Posts: 272

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by reddazz
I am not sure how to resolve that one. Is there any specific reason why you are installing j2eesdk 1.4 instead of 1.5.
It was the only one I got (latest) from the sun java site (it said includes java 5).
Do they have a j2eesdk 1.5 ? How do I get to it ?

This is what it said:
J2EE 1.4 includes JDK 5.0
 
Old 04-10-2006, 11:04 PM   #8
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally Posted by wearetheborg
It was the only one I got (latest) from the sun java site (it said includes java 5).
Do they have a j2eesdk 1.5 ? How do I get to it ?

This is what it said:
J2EE 1.4 includes JDK 5.0
Sorry, J2EE 1.5 is still beta.
 
Old 05-23-2006, 05:37 AM   #9
val1984
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by wearetheborg
Installed libstdc++2.10. But now the java bin install file hangs:
./j2eesdk-1_4_03-linux.bin
Checking available disk space...
Checking Java(TM) 2 Runtime Environment...
Extracting Java(TM) 2 Runtime Environment files...
*** glibc detected *** corrupted double-linked list: 0x080643e0 ***
Deleting temporary files...


At this point the program hangs (CTRL C wont kill it, I have to do kill -9)
ps x
32250 pts/4 S+ 0:03 ./j2eesdk-1_4_03-linux.bin
32327 pts/5 Ss 0:00 /bin/bash
32371 pts/5 R+ 0:00 ps x
Also install libg++2* and it will work.
 
Old 06-13-2006, 06:16 PM   #10
edwardp
Member
 
Registered: Jun 2003
Location: USA
Distribution: Debian Wheezy amd64
Posts: 82

Rep: Reputation: 15
(tried to delete - found answer to my question)

Last edited by edwardp; 06-13-2006 at 06:21 PM.
 
Old 06-13-2006, 06:27 PM   #11
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally Posted by edwardp
(tried to delete - found answer to my question)
Please don't delete your questions. Post the solution so that someone else benefits from it.

Last edited by reddazz; 06-13-2006 at 07:05 PM.
 
  


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
Where can I find this library 'libstdc++.so.5' for fordea 4? yinglcs Linux - General 2 02-19-2006 02:23 PM
cant find compat-gcc-32 linuxmandrake Linux - Software 0 07-29-2005 08:39 AM
how to find which rpm cotains libstdc++-libc6.2-2.so.3 stewchcken Linux - Software 1 07-26-2005 10:23 AM
unable to find libstdc++.so.5 in debian tonerow12 Linux - General 1 07-12-2004 12:58 PM
Help ! Can't find compat-db-3.3.11-3.i386.rpm Bijukumar Linux - Software 3 10-20-2003 03:35 AM


All times are GMT -5. The time now is 07:37 AM.

Main Menu
Advertisement
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