This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
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 Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Installing J2EE under Linux" Watch "Installing J2EE under Linux" New topic

Installing J2EE under Linux

Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
I downloaded the J2EE .bin installation file from and tried to install it. I get the following error:

./sjsas_pe-8_1_01_2005Q1-linux.bin: error while loading shared libraries: 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?


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.

I agree. Here's the link:
subject: Installing J2EE under Linux
It's not a secret anymore!