LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2004-02-04 17:36:26


Your C++ compiler does not appear to be installed properly. More
specifically, the support libraries do not seem to be installed properly.
Here's the test in question:

> configure:8028: checking for ANSI C header files
> configure:8053: /home/h/top2/ra019837/gcc3.3.2/bin/g++ -c -DLAM_BUILDING=1 conftest.cc >&5
> configure:8059: $? = 0
> configure:8063: test -z
> || test ! -s conftest.err
> configure:8066: $? = 0
> configure:8069: test -s conftest.o
> configure:8072: $? = 0
> configure:8158: /home/h/top2/ra019837/gcc3.3.2/bin/g++ -o conftest -DLAM_BUILDING=1 conftest.cc >&5
> configure:8161: $? = 0
> configure:8163: ./conftest
> ./conftest: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
> configure:8166: $? = 127
> configure: program exited with status 127
> configure: failed program was:

Once you can compile and run the following C++ program, you should be able
to install LAM/MPI:

-----
#include <iostream>
using namespace std;
int main(int argc, char* argv[]) {
  cout << "Hello, world!" << endl;
  return 0;
}
-----

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/