How do I select a version of libstdc+ to link against?

David Aldrich David.Aldrich@EMEA.NEC.COM
Tue Sep 27 10:49:00 GMT 2011


> For the third or fourth time, have you use ldd to see which library is being
> used by the runtime linker?  I am positive that will show you it's using the
> standard system libstdc++ in somewhere such as /usr/lib/libstdc++.so.6.x.x

My apologies, it is linking to:

/usr/lib/libstdc++.so.6.0.13

> You can use RPATH or $LD_LIBRARY_PATH to force a different lib to be used.

Thanks.



More information about the Libstdc++ mailing list