Problem with shared libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have just built gcc 3.3.2 on my red hat linux system. The configure and build process apparently worked, but when I try to run some C++ and fortran programs I get shared library problems, for example, the simple program below compiles but does not run.

---Sample C++ program

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

---

when trying to run the program above I get the following:

---error message

./a.out: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

---

Any tips about what's going on?

Thank you very much,
Leonardo.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux