I downloaded the J2EE .bin installation file from java.sun.com and tried to install it. I get the following error:
./sjsas_pe-8_1_01_2005Q1-linux.bin: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
When I run locate, sure enough this .so file cannot be found. I have a lot of other stdc++ .so files, though. So what do I need to do to fix this problem?
I guess you also need to know the stats of the system I am running. Well, I tried it on two different systems. One is a Pentium I 133 MHz (I think) running Red Hat 8.0. The other is an AMD Athalon 1.1 GHz running Debian testing (as of January 2005). Both systems give this same error message.
a RPM search on that filename, and a bit of educated guesswork on the results of the search, tells me that this file is part of a backwards compatibility package to let code compiled with gcc-c++ version 2.96 run on a more modern system. on Red Hat, you'd want to install the "compat-libstdc++" and/or the "compat-gcc-c++" RPM, on Debian i don't know what it might be called.
Joined: Dec 06, 2001
Thanks. I talked with a friend earlier and he helped me find the Debian package that has this file. I'll check both of these out.