This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: 4.6.0: undefined symbol: _ZNSt14error_categoryD2Ev, version GLIBCXX_3.4.15 when dlclose C++ libs from C program
- From: Ian Lance Taylor <iant at google dot com>
- To: Ryan Hill <dirtyepic at gentoo dot org>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 08 Jul 2011 21:58:34 -0700
- Subject: Re: 4.6.0: undefined symbol: _ZNSt14error_categoryD2Ev, version GLIBCXX_3.4.15 when dlclose C++ libs from C program
- References: <20110708222551.007cfb83@gentoo.org>
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