aspose file tools*
The moose likes Linux / UNIX and the fly likes Installing J2EE under Linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Installing J2EE under Linux" Watch "Installing J2EE under Linux" New topic
Author

Installing J2EE under Linux

Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
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.

Any suggestions?

Layne


Java API Documentation
The Java Tutorial
M Beck
Ranch Hand

Joined: Jan 14, 2005
Posts: 323
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.
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
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.

Layne
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Installing J2EE under Linux
 
Similar Threads
Adding entry to default system property.
Creating file blocks
apache linux binaries install problem
Tomcat Install on Linux Machines?????
Installing J2EE SDK under REDHAT ENTERPRISE 4