Re: two versions of libstdc++?
Adrian Bridgett <adrian.bridgett@poboxes.com> writes:
> A rebuild seems to fix the problem, but ld warns:
>
> /usr/bin/ld: warning: libstdc++.so.2.8, needed by /usr/X11R6/lib/libqt.so,
> may conflict with libstdc++.so.2.7.2
That's no good.
> Both 2.8 and 2.7.2 are linked in - this seems wrong. It looks like pppload
> itself wants 2.7.2 and qt wants 2.8.
It is wrong... see below.
> ~/DEBIAN/pppload/pppload-1.0$ ldd /usr/X11R6/lib/libqt.so
> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40177000)
> libstdc++.so.2.8 => /usr/lib/libstdc++.so.2.8 (0x4021a000)
> libm.so.6 => /lib/libm.so.6 (0x40267000)
> libc.so.6 => /lib/libc.so.6 (0x40280000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
>From this I can see that libqt has been compiled with the *new* (from
egcs) g++, which also means that you need libstc++2.8 and
libstc++2.8-dev. Make sure libstdc++-dev (old 272) is removed (but
you can leave libg++272 with the shlibs in it).
Yes... Without much hoopla, our standard c++ compiler got switched to
egcs. I guess, theoretically (but I doubt it will happen) all c++
programs should be compiled with it. Not that I'm complaining, it's a
better compiler, and kudos to Galen.
.....A. P. Harris...apharris@onShore.com...<URL:http://www.onShore.com/>
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: