This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++.so.2.10.0: open failed: no such file or directory
- From: Dara Hazeghi <dhazeghi at yahoo dot com>
- To: a dot passi at zensar dot com
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sat, 17 May 2003 12:27:28 -0700
- Subject: 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