This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

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


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


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