This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
ld.so.1: ./a.out: fatal: libstdc++.so.4: open failed: No such file or directory
- From: Ian dot C dot Stong at mail dot sprint dot com
- To: libstdc++ at gcc dot gnu dot org
- Date: Fri, 30 Aug 2002 11:44:07 -0400
- Subject: ld.so.1: ./a.out: fatal: libstdc++.so.4: open failed: No such file or directory
On solaris 2.8 I installed gcc 3.1. GCC works fine and g++ on a file
doesn't give any errors. But trying to run the compiled program (a.out)
gives the following error:
ld.so.1: ./a.out: fatal: libstdc++.so.4: open failed: No such file or
directory
The libstdc++.so.4 file does exist as does ld.so.1 so not sure what the
problem is or how to fix.
Copy of simple code I am testing with:
#include "iostream.h"
main(){
cout<<"Hello gcc\n";
return 0;
}
Thanks