Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-01-2004, 01:23 AM
|
#1
|
Member
Registered: Aug 2003
Location: South Africa
Distribution: Mandrake 9.2
Posts: 34
Rep:
|
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
|
|
|
06-01-2004, 02:32 AM
|
#2
|
Member
Registered: Jan 2004
Location: Slovenija
Distribution: Mandriva LE 2005
Posts: 54
Rep:
|
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.
|
|
|
06-01-2004, 04:04 AM
|
#3
|
Member
Registered: Aug 2003
Location: South Africa
Distribution: Mandrake 9.2
Posts: 34
Original Poster
Rep:
|
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
|
|
|
06-01-2004, 04:33 AM
|
#4
|
Member
Registered: Jan 2004
Location: Slovenija
Distribution: Mandriva LE 2005
Posts: 54
Rep:
|
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.
|
|
|
06-01-2004, 04:46 AM
|
#5
|
Member
Registered: Aug 2003
Location: South Africa
Distribution: Mandrake 9.2
Posts: 34
Original Poster
Rep:
|
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?!
|
|
|
07-08-2004, 07:15 AM
|
#6
|
LQ Newbie
Registered: Nov 2003
Distribution: Redhat/mandrake
Posts: 5
Rep:
|
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!
|
|
|
07-08-2004, 08:08 AM
|
#7
|
LQ Newbie
Registered: Jul 2004
Distribution: Fedora core 3
Posts: 7
Rep:
|
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.
|
|
|
07-08-2004, 08:13 AM
|
#8
|
Member
Registered: Jan 2004
Location: Slovenija
Distribution: Mandriva LE 2005
Posts: 54
Rep:
|
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.
|
|
|
07-08-2004, 08:18 AM
|
#9
|
Senior Member
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672
Rep:
|
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...
|
|
|
07-08-2004, 08:26 AM
|
#10
|
LQ Newbie
Registered: Jul 2004
Location: La Plata, Argentina
Distribution: Mandrake 10.0
Posts: 14
Rep:
|
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 helps http://www.dlhoffman.com/publiclibra....0-3.i386.html
|
|
|
10-08-2004, 03:38 AM
|
#11
|
Member
Registered: Jan 2004
Location: New Zealand
Distribution: 2.6.11-gentoo-r3
Posts: 120
Rep:
|
is there a mirror
I am having troubles also installing maple 9 on my mdk 10 system
|
|
|
All times are GMT -5. The time now is 02:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|