• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Installing J2EE under Linux

 
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 323
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
reply
    Bookmark Topic Watch Topic
  • New Topic