4.6.0: undefined symbol: _ZNSt14error_categoryD2Ev, version GLIBCXX_3.4.15 when dlclose C++ libs from C program

Ian Lance Taylor iant@google.com
Sat Jul 9 04:58:00 GMT 2011


Ryan Hill <dirtyepic@gentoo.org> writes:

> Beginning in GCC 4.6.0 we started seeing various package failures at runtime
> with the message:
>
> symbol lookup error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.0/libstdc++.so.6:
> undefined symbol: _ZNSt14error_categoryD2Ev, version GLIBCXX_3.4.15

What is the output of

readelf -sr --wide /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.0/libstdc++.so.6 | grep _ZNSt14error_categoryD2Ev

?

This does not happen with current gcc mainline on my Ubuntu system.

Ian



More information about the Gcc-help mailing list