libstdc++.so.2.10.0: open failed: no such file or directory

Dara Hazeghi dhazeghi@yahoo.com
Sat May 17 19:27:00 GMT 2003


Hello,

you are not really providing enough information to diagnose your 
problem. libstdc++ 2.10 and libstdc++2.8.1 are not compatible. Each 
works with a specific version of g++, and they do not interoperate. If 
you want to use one on the other machine, you do not want to recompile 
the program on the other machine. Instead, you should simply transfer 
the shared object and the libstdc++ you need, and set LD_LIBRARY_PATH 
accordingly.

ie
build on machine 1.
copy program and libstdc++ 2.10 to machine 2.
set LD_LIBRARY_PATH on machine 2 to the directory which you have put 
libstdc++ 2.10.
run your program

this should work.

Dara



More information about the Gcc-help mailing list