This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]