From owner-freebsd-questions@FreeBSD.ORG Wed May 5 01:08:02 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23DA716A4CE for ; Wed, 5 May 2004 01:08:02 -0700 (PDT) Received: from mtaw4.prodigy.net (mtaw4.prodigy.net [64.164.98.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id A30CF43D31 for ; Wed, 5 May 2004 01:08:01 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (238bc3886e20d126300e4751f6687fe2@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128]) by mtaw4.prodigy.net (8.12.10/8.12.10) with ESMTP id i4587xfj012430; Wed, 5 May 2004 01:08:00 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 9B994527B1; Wed, 5 May 2004 01:07:59 -0700 (PDT) Date: Wed, 5 May 2004 01:07:59 -0700 From: Kris Kennaway To: Kent Stewart Message-ID: <20040505080759.GC61103@xor.obsecurity.org> References: <20040505162047.GA9994@darkpossum> <200405042241.23884.kstewart@owt.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TiqCXmo5T1hvSQQg" Content-Disposition: inline In-Reply-To: <200405042241.23884.kstewart@owt.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: libgthread error building arts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2004 08:08:02 -0000 --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--