Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error trying to start java
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jonasforssell
n00b
n00b


Joined: 27 Oct 2002
Posts: 63

PostPosted: Mon Jan 20, 2003 4:41 pm    Post subject: Error trying to start java Reply with quote

Hello,

I had IBM Java SDK installed, but de-emerged it to replace it with the Sun equivalent.

emerging sun-jdk-1.3.1 went fine, but trying to run java at the prompt gives me:

/opt/sun-jdk-1.3.1.06/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

Any ideas what I have made wrong?

Thanks
/Jonas
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Mon Jan 20, 2003 5:55 pm    Post subject: Reply with quote

On my system, qpkg reports that libstdc++-libc6.1-1.so.2 is owned by net-www/phoenix-bin and sys-libs/lib-compat. I'd try re-emerging lib-compat.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
cederberg
Guru
Guru


Joined: 23 Jan 2003
Posts: 349
Location: Stockholm / Sweden

PostPosted: Fri Jan 24, 2003 11:41 pm    Post subject: Reply with quote

Had the same problem with Sun JDK 1.3.1. Thanks for the lib-compat tip, it saved my day!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum