Re: libstdc++-libc6.2-2.so.3
On Thu, Oct 24, 2002 at 04:34:07PM -0400, Gregory Seidman wrote:
> I am developing a program using g++ 3.2. When I added a dynamic_cast, it
> started segfaulting on it. In searching the web I came up with the
> following:
>
> http://lists.debian.org/debian-gcc/2002/debian-gcc-200205/msg00240.html
>
> It suggests that I mght be linking against two different versions of
> libstdc++ and, indeed, it seems I am (according to ldd). I proceeded to
> apt-get source --compile libglut3 and install it. That fixed the problem,
> but ldd gives the same output as before.
>
> I don't understand why my program seems to be linked to two versions of
> libstdc++. It looks like libstdc++.so.5 is the g++ 3.2 library, but there
> is also that libstdc++-libc6.2-2.so.3 which nothing seems to use. Can
> anyone explain this extraneous dependency?
>
> The output from ldd -v is below.
Presumably something is not linking using GCC 3.2. Are you linking
using g++ instead of g++-3.2?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
Reply to: