Unable to execute and executable (a.out) on a Unix Platform. I wrote a C++ program on the Sun box and copied all the necessary include directories (.h). I can compile my program with no errors, but when it returns the a.out and I attempt to execute it I get
#g++ samplecode.cpp
#a.out
ld.so.1: a.out: fatal: libstdc++.so.2.10.0: open failed: No such file or directory
Killed
#
Anybody got any thoughts or suggestions?
#g++ samplecode.cpp
#a.out
ld.so.1: a.out: fatal: libstdc++.so.2.10.0: open failed: No such file or directory
Killed
#
Anybody got any thoughts or suggestions?