gcc 4.4.0: libstdc++.so has undef references to prior gcc versions

Amitava Dutta ad_101@yahoo.com
Tue Jun 30 13:34:00 GMT 2009


Thanks Ian and Marc,

> > From: Ian Lance Taylor <iant@google.com>
> > This means that libstdc++.so is expecting a newer
> version
> > of libgcc than the one that it found.  You may need
> to use
> > LD_LIBRARY_PATH, or link with -static-libgcc.
> > 
> > Ian
> > 
> 


> From: Marc Glisse <marc.glisse@normalesup.org>
> 
> Which libgcc_s.so.1 got loaded when you had this error? It
> looks like the kind of thing that might happen if you use a
> recent libstdc++ with an older libgcc_s.
> 


I didn't notice that I had inadvertently 
set LD_LIBRARY_PATH which contained /usr/sfw/lib;
I'll clear the LD_LIBRARY_PATH 

Best regards
Amitava





More information about the Gcc-help mailing list