Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2000 15:45:12 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Thomas Schuerger <schuerge@wjpserver.CS.Uni-SB.DE>
Cc:        Chuck Robey <chuckr@picnic.mat.net>, freebsd-ports@FreeBSD.org
Subject:   Re: libstdc++ undefined symbols
Message-ID:  <39535BD8.74CE91CA@FreeBSD.org>
References:  <200006230603.IAA13736@wjpserver.cs.uni-sb.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Thomas Schuerger wrote:

> > > Hi!
> > >
> > > I'm having compilation problems with a few of the ports. Compilation
> > > aborts with the following error message:
> > >
> > > /usr/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.3: Undefined symbol "_vt$9exception"
> > >
> > > I have FreeBSD 4.0-STABLE installed for two weeks now. Before that,
> > > compilation worked fine. Candidates for this error are e.g. net/licq and
> > > x11/kd2. Any ideas?
> >
> > It's due to a change in the method that the g++ compiler codes up
> > exception handling.  You're going to have to relink (I guess that really
> > means recompile and reinstall) all of your C++ libraries.
> >
> > That exception method coding, it's changed twice in the last year, and
> > each time you had to recompile your C++ libs.  PITA.
>
> Ah. What exactly do I have to reinstall? /usr/src/contrib/libstdc++?

No, all c++-based libraries from ports. You can easily indentify them by doing "find
/usr/local/lib -type f | xargs grep libstdc++" (and the same for /usr/X11R6/lib).

-Maxim




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39535BD8.74CE91CA>