where is libstdc++# Unix - 噫吁兮,危乎高哉
n*w
1 楼
Any system admin here? I have this question related to c++ programming on
unix to ask for help.
While I can compile and run C programs with no problem, it's not the case
for C++. For example, after I edited a simple "Hello World" program
named "hello.cc" and compiled it using "g++ hello.cc", I got error
message executing the resulting "a.out", like this:
ld.so.1: a.out: fatal: libstdc++.so.2.10.0: open failed: No such file or
directory
It looks like libstdc++.so.2.10.0 is not available. I checke
unix to ask for help.
While I can compile and run C programs with no problem, it's not the case
for C++. For example, after I edited a simple "Hello World" program
named "hello.cc" and compiled it using "g++ hello.cc", I got error
message executing the resulting "a.out", like this:
ld.so.1: a.out: fatal: libstdc++.so.2.10.0: open failed: No such file or
directory
It looks like libstdc++.so.2.10.0 is not available. I checke