Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 May 2004 01:07:59 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Kent Stewart <kstewart@owt.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: libgthread error building arts
Message-ID:  <20040505080759.GC61103@xor.obsecurity.org>
In-Reply-To: <200405042241.23884.kstewart@owt.com>
References:  <20040505162047.GA9994@darkpossum> <200405042241.23884.kstewart@owt.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--TiqCXmo5T1hvSQQg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 04, 2004 at 10:41:23PM -0700, Kent Stewart wrote:
> On Wednesday 05 May 2004 09:20 am, Redmond Militante wrote:
> > hi
> >
> > i'm having trouble building kde3 on a freshly installed box.  the
> > ports tree has been cvsupp'ed, i've portupgraded -rf gettext, and
> > portupgraded -rf textproc/expat2.
> >
> > the kde3 install errors out while installing arts.  the error i get
> > is
> >
> > /usr/local/lib/libgthread-2.0.so: undefined reference to
> > 'pthread_attr_destroy' /usr/local/lib/libgthread-2.0.so: undefined
> > reference to 'pthread_create' /usr/local/lib/libgthread-2.0.so:
> > undefined reference to 'pthread_attr_init' ...
> > gmake[2] *** [mcopid1] Error 1
> > gmake[2] Leaving directory
> > '/usr/ports/audio/arts/work/arts-1.2.2/mcopid1' gmake[1] ***
> > [all-recursive] Error 1
> > gmake[1] Leaving directory '/usr/ports/audio/arts/work/arts-1.2.2/'
> > gmake[1] *** [all] Error 2
> > *** Error code 2
> >
> > i've tried to google this one.  all i could find were references to
> > people having the same sort of problem while installing other apps,
> > but no solution.  anyone know what's going on?
> >
>=20
>=20
> Did you search on -current for pthreads and libc_r? You have a mixed=20
> setup that is trying to use both and that doesn't work. There are=20
> several solutions. One is to use libmap.conf to map them and the other=20
> is to rebuild everything that uses pthreads such as gmake, glib, and=20
> the rest of the ports. I started out using libmap.conf and eventually=20
> did a portupgrade -rRfa.=20

Actually this is a legitimate error that is also showing up on package
builds.  I reported it to the maintainer earlier today.

Kris

--TiqCXmo5T1hvSQQg
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAmKDeWry0BWjoQKURAkMEAKCBUY8t48PuUEGWFid7fJFlDcv1gQCeK5df
7ZKfqss/rDsmJoV0qDr2DEc=
=zuM5
-----END PGP SIGNATURE-----

--TiqCXmo5T1hvSQQg--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040505080759.GC61103>