cannot run C++ compiled programs

Alexandre Oliva aoliva@redhat.com
Wed Dec 12 17:52:00 GMT 2001


On Dec 12, 2001, chao lin <chao_clin@yahoo.com> wrote:

> checking whether the C++ compiler works... configure:
> error: cannot run C++ compiled programs.

The most common reason for this problem is that g++ implicitly links
in libstdc++.  If libstdc++ is a shared library that is not in the
default search path of the run-time linker, you have to set
LD_LIBRARY_PATH for this library to be found.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc mailing list