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]

error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory


First, some info:

yapn:eng@yapn:~/proj/aoeu> g++ --verbose
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.0.2/configure
--prefix=/home/yapn/.mrm-vista/common/org/fsf/gcc/4.0.2
--exec-prefix=/home/yapn/.mrm-vista/kernel/processor/org/fsf/gcc/4.0.2
--enable-__cxa_atexit --enable-languages=c,c++,java
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/home/yapn/.mrm-vista/common/org/fsf/gcc/4.0.2/include
Thread model: posix
gcc version 4.0.2


When I build an executable with this g++, it's not able to load in
libstdc++; there's no run path at all.  What do I need to do to get
g++ to create the correct run path automatically?  Or do I need to
specify explicitly the run path each time I use g++?

Thanks,
Noel


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