On Thu, Oct 24, 2002 at 04:48:25PM -0400, Gregory Seidman wrote: > Daniel Jacobowitz sez: > } 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? > > Nope: Er. Are any of the libraries you depend on linked against the old libstdc++ (say, if any of *them* are C++ libraries, and haven't been recompiled with GCC 3.2 - this being the whole situation that leads to the requirement for juggling things carefully in the GCC version transition)? -- *************************************************************************** Joel Baker System Administrator - lightbearer.com lucifer@lightbearer.com http://users.lightbearer.com/lucifer/
Attachment:
pgp2Ub9OWDc_Z.pgp
Description: PGP signature