LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-01-2010, 04:06 PM   #1
Beekman
Member
 
Registered: Mar 2010
Location: Kampen, The Netherlands
Distribution: Ubuntu 14.04
Posts: 33

Rep: Reputation: 0
Missing library (libstdc++-libc6.1-1.so.2) to run jdk1.3.1


Hello,

I'm trying to switch my Eclipse-workspace from Windows to Linux.
But the project I'm working on needs Java 1.3.1.

When I try to run my Ant-build, I'm getting this exception:

Code:
[javac] Compiling 125 source files to ...
[javac] .../Java-Compilers/linux/jdk1.3.1/bin/i386/native_threads/javac: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
I found a library I think it could use instead and made a link (from the lib-directory);
sudo ln -s gcc/i486-linux-gnu/4.4/libstdc++.so libstdc++-libc6.1-1.so.2

But whenever I try to run java, or javac it just sais;
"Segmentation fault"

That probably isn't what it's supposed to do...
Can anybody help me with this problem?

This article seems to be te closest to my problem;
http://ubuntu-linux-dell-inspiron-94...un-jdk131.html
 
Old 11-01-2010, 05:56 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
libstdc++-libc6.1-1.so.2 is supposed to be a link to :
libstdc++-2-libc6.1-1-2.9.0.so

... from 'libstdc++2.9-glibc2.1_2.91.66-4_i386.deb'
http://ftp.de.debian.org/archive/deb....66-4_i386.deb

http://archive.debian.net/woody/libstdc++2.9-glibc2.1
..

P.S. : The source for these files [egcs1.1_1.1.2.orig.tar.gz]
is from years 1997-1998.
..

Last edited by knudfl; 11-01-2010 at 05:58 PM.
 
1 members found this post helpful.
Old 11-01-2010, 10:50 PM   #3
Beekman
Member
 
Registered: Mar 2010
Location: Kampen, The Netherlands
Distribution: Ubuntu 14.04
Posts: 33

Original Poster
Rep: Reputation: 0
Thanks, that works a lot better!
 
Old 11-01-2010, 11:11 PM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
For whatever it's worth, it's EXTREMELY likely that your project will work with the latest/greatest Sun JDK/Sun JRE. I encourage you to give it a try, if you're planning on working much with this program.

IMHO...
 
Old 11-02-2010, 01:50 AM   #5
Beekman
Member
 
Registered: Mar 2010
Location: Kampen, The Netherlands
Distribution: Ubuntu 14.04
Posts: 33

Original Poster
Rep: Reputation: 0
A large part of the project can be build with the latest JDK, but the project also contains a client which should run on a PDA or other mobile computer.
Because we use RMI we're bound to a JVM that can run on a PDA and supports RMI, and there aren't a lot.
Now we use Creme JVM, but it's J1.3.1
 
  


Reply

Tags
eclipse, java, libraries



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
Need older libraries: libstdc++-3.2.4, libstdc++-libc6.-1.so.2, & compat-2004.7.1 al_moline SUSE / openSUSE 2 10-19-2007 07:01 AM
Missing file libstdc++-libc6.1-1.so.2 kantor_98 Linux - Newbie 3 06-06-2007 04:39 AM
glxinfo fails to run(libstdc++.so.6 missing) uglydot Linux - Software 1 01-25-2006 04:02 PM
Missing the libstdc++-libc6.1.-1.so.2 library-- AAGH mst3kman Linux - Newbie 3 01-03-2006 04:50 PM
blender 3d missing libstdc++-libc6.2-2.so.3 arkamir Linux - Newbie 5 04-19-2004 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:04 PM.

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
Open Source Consulting | Domain Registration