Re: two versions of libstdc++?
On Mon, Mar 30, 1998 at 07:27:35PM -0500, Adam P. Harris wrote:
> Adrian Bridgett <email@example.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).
Thanks - that fixed it (the offending package was libg++272-dev).
> 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.
I've been using egcs (or is it egcc?!) for all my C programs and have been
very impressed. Thanks for the explanation.
email: firstname.lastname@example.org | Debian Linux - www.debian.org
http://www.poboxes.com/adrian.bridgett | 2.0 release soon - over 1800
PGP key available on public key servers | packages on a stable OS
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org