LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 06-01-2004, 01:23 AM   #1
dabump
Member
 
Registered: Aug 2003
Location: South Africa
Distribution: Mandrake 9.2
Posts: 34

Rep: Reputation: 15
Unhappy Serious Problem with MDK10 Official and java


Hi Guys...

I installed Mandrake 10 official and tried to install any java related stuff. I installed JDK 1.3 & 1.4 - Any everytime I try to start java, I get the following error:

/usr/java/jdk1.3.1_04/bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory.

Could anyone help me with this please?

Cheers
Martin
 
Old 06-01-2004, 02:32 AM   #2
MATJA_KAE_92
Member
 
Registered: Jan 2004
Location: Slovenija
Distribution: Mandriva LE 2005
Posts: 54

Rep: Reputation: 15
You obviously don't have libstdc++ and -libc6.1-1.so.2 libraries installed.
That's why it's better to install software from RPMs. The sistem finds the dependencies by itself that way. Find a RPM version of java and make a nev "rpm" directory then move the package into it. In MCC open Package manager and set this new directory as a new rpm source (media). This way you will be able to install it from MCC and the needed packages will be installed as well.

Last edited by MATJA_KAE_92; 06-01-2004 at 02:33 AM.
 
Old 06-01-2004, 04:04 AM   #3
dabump
Member
 
Registered: Aug 2003
Location: South Africa
Distribution: Mandrake 9.2
Posts: 34

Original Poster
Rep: Reputation: 15
Angry

Quote:
Originally posted by MATJA_KAE_92
You obviously don't have libstdc++ and -libc6.1-1.so.2 libraries installed.
That's why it's better to install software from RPMs. The sistem finds the dependencies by itself that way. Find a RPM version of java and make a nev "rpm" directory then move the package into it. In MCC open Package manager and set this new directory as a new rpm source (media). This way you will be able to install it from MCC and the needed packages will be installed as well.
Hi MATJA_KAE_92 - I installed Mandrake 10 official, clean copy. Then I installed the libstdc++ libraries. The problem I can see is that the JAVA VM uses an older version of the libstdc++ libraries. I downloaded the libraries needed from the web, and the RPM tool indicated that the version I'm trying to install is older than the one that's CURRENTLY installed. I Also DID installed the JVM from an RPM file, and it did not complain. I tried SUN JDK 1.3 & 1.4 PLUS I tried the IBM VM....and all of them complained about the libstdc++ libraries......Now, how will Mandrake be used as 'n java development platform, if you can't get JAVA running on the damn thing!?

Cheers
Martin
 
Old 06-01-2004, 04:33 AM   #4
MATJA_KAE_92
Member
 
Registered: Jan 2004
Location: Slovenija
Distribution: Mandriva LE 2005
Posts: 54

Rep: Reputation: 15
Well, I use 10 Official Power pack and java is already included.
So I don't have any problems with it.
The included package is j2re-1.4.2_04-1mdk.
 
Old 06-01-2004, 04:46 AM   #5
dabump
Member
 
Registered: Aug 2003
Location: South Africa
Distribution: Mandrake 9.2
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MATJA_KAE_92
Well, I use 10 Official Power pack and java is already included.
So I don't have any problems with it.
The included package is j2re-1.4.2_04-1mdk.
Okay...I downloaded the 3 ISO disc version. Java is not included with this pack. Did anyone download the 3 ISO disc version and got java working?!
 
Old 07-08-2004, 07:15 AM   #6
akje
LQ Newbie
 
Registered: Nov 2003
Distribution: Redhat/mandrake
Posts: 5

Rep: Reputation: 0
Have you tried Kaffe?

If kaffe can't do the job for you, try changing the java settings under etc/alternatives.

Mandrake 10 is shipped with kaffe installed if I'm not mistaking.

Later!
 
Old 07-08-2004, 08:08 AM   #7
civ247
LQ Newbie
 
Registered: Jul 2004
Distribution: Fedora core 3
Posts: 7

Rep: Reputation: 0
I run the Mandrake 10 download ed. I got the latest java from the sunsite along with netbeans all in one bundle. About 90MB.

It comes with a windows style installer so it no prob even though i was still relatively new to linux at the time.

You should be able to get java without netbeans as well.

I realise installing JDK is not the problem, im just passing on what worked for me.


http://java.sun.com/j2ee/1.4/download.html

Good luck

Last edited by civ247; 07-08-2004 at 08:09 AM.
 
Old 07-08-2004, 08:13 AM   #8
MATJA_KAE_92
Member
 
Registered: Jan 2004
Location: Slovenija
Distribution: Mandriva LE 2005
Posts: 54

Rep: Reputation: 15
Try to download java from here:
http://www.java.com/en/download/manual.jsp

Read the instructions! Make a rpm first and install it from Mandrake control center, so the dependencies will be found.

I helped a guy who installed MDK 10 from 3CD set to install this package some days ago. It works perfectly.
 
Old 07-08-2004, 08:18 AM   #9
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
I have java working with a 4 disc set of mdk 10... You need the compatibility c libs by the looks? Not sure if they are on the first three disks or not?

Kaffe, BTW, doesn't work with a lot of stuff, like limewire etc...
 
Old 07-08-2004, 08:26 AM   #10
indiocolifa
LQ Newbie
 
Registered: Jul 2004
Location: La Plata, Argentina
Distribution: Mandrake 10.0
Posts: 14

Rep: Reputation: 0
I got the same problem with Maple 9.03 math software.

I solved it by downloading the libraries:libstdc++-libc6.1-1.so.2


hope this helpshttp://www.dlhoffman.com/publiclibra....0-3.i386.html
 
Old 10-08-2004, 03:38 AM   #11
cyborg_jt
Member
 
Registered: Jan 2004
Location: New Zealand
Distribution: 2.6.11-gentoo-r3
Posts: 120

Rep: Reputation: 15
is there a mirror

I am having troubles also installing maple 9 on my mdk 10 system
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot run Firefox on MDK10.1 Official cawwt Mandriva 9 12-21-2004 08:43 AM
Xaw tv does not record!Mdk10.1 official akihandyman Mandriva 2 12-16-2004 07:10 PM
trying to compile X11R6.8.1 on mdk10.1 official quatsch Mandriva 3 12-12-2004 08:08 PM
What the difference between MDK10 Official and MDK10??? unixfreak Mandriva 1 08-18-2004 02:35 PM
Geforce 4 and MDK10 official Warmaster Mandriva 18 05-24-2004 03:10 AM


All times are GMT -5. The time now is 08:27 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