geoffrey_charra wrote:
oops... that was a bad idea : now when I do a java command I have a "loading error" :
Quote:
Erreur de chargement : libstdc++.so.5: cannot open shared object file: No such file or directory
I've also downloaded a 48Mb JRE 1.5 file ( ibm-java2-jre-50-linux-ppc.tgz) from IBM's website but it seems that there is no ebuild.
How can I use it anyway ?
I guess that if it does not work I will go back to my previous Java version :-(
You get that error because that java was built against libstdc++.so.5 while your gentoo operating system uses a more recent version. You can fix this by installing libstdc++.so.5 and you do that using the following command:
emerge sys-libs/libstdc++-v3
After that your java should work fine.