So to start with I downloaded J2EE 5.0 self extracting bin file java_ee_sdk-5_01-linux.bin and started the installation after changing the file permissions (chmod a+x java_ee_sdk-5_01-linux.bin)
As soon as the installer started, it ended with an pinching error message...
./java_ee_sdk-5_01-linux.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
My immediate thought was required shared library libstdc++.so.5 is missing with Ubuntu 8.10 release. So tried to get it using...
sudo apt-get install libstdc++5
This failed, saying no such package. Probably default packages does not list this. Then I started looking in /usr/lib and found libstdc++.so.6.0.10. Having found this I just made a soft link to libstdc++.so.5 to point to existing version 6.0.10.
ln -s /usr/lib/libstdc++.so.6.0.10 /usr/lib/libstdc++.so.5
Started again installation and everything went on fine and I was a happy man when I saw the output of...
java -version
:)Cheers !!!
- Jay


ye mereko bhi aya tha :)
ReplyDeleteMarvellous. Thanks.
ReplyDeleteFor me I found that the ln you suggest appears to work but I later get weirdness (blank install GUI)
ReplyDeleteFrom the Sun forums I found that installing this package works: compat-libstdc++-33
"For me I found that the ln you suggest appears to work but I later get weirdness (blank install GUI)"
ReplyDeleteDidnt quite get well what do you mean by blank install GUI? Can you elaborate please?
I maximized the screen and then saw the content of the "blank install GUI"
ReplyDeleteThanks dude ..Your article really solved my problem
ReplyDeleteThanks...Good article.
ReplyDeleteThanks! It was helpful!
ReplyDeleteapt-get install libstdc++5
thank you so much!!!
ReplyDeletealso from me: thanks !!!
ReplyDelete