From owner-freebsd-ports@FreeBSD.ORG Tue Apr 29 04:32:07 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D61E937B401 for ; Tue, 29 Apr 2003 04:32:05 -0700 (PDT) Received: from eos.telenet-ops.be (eos.telenet-ops.be [195.130.132.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF21E43F85 for ; Tue, 29 Apr 2003 04:32:04 -0700 (PDT) (envelope-from philip@paeps.cx) Received: from localhost (localhost.localdomain [127.0.0.1]) by eos.telenet-ops.be (Postfix) with SMTP id 9137A1FF92 for ; Tue, 29 Apr 2003 13:32:03 +0200 (CEST) Received: from fortuna.home.paeps.cx (D5768746.kabel.telenet.be [213.118.135.70]) by eos.telenet-ops.be (Postfix) with ESMTP id 79E911FF17 for ; Tue, 29 Apr 2003 13:32:03 +0200 (CEST) Received: from juno.home.paeps.cx (juno.home.paeps.cx [2001:ab8:2007:0:240:f4ff:fe31:3090]) by fortuna.home.paeps.cx (Postfix) with ESMTP id 3F006209C for ; Tue, 29 Apr 2003 13:32:03 +0200 (CEST) Received: by juno.home.paeps.cx (Postfix, from userid 1001) id C8D64210C; Tue, 29 Apr 2003 13:32:00 +0200 (CEST) Date: Tue, 29 Apr 2003 13:31:59 +0200 From: Philip Paeps To: freebsd-ports@freebsd.org Message-ID: <20030429113159.GV643@juno.home.paeps.cx> Mail-Followup-To: freebsd-ports@freebsd.org References: <20030429002250.GM643@juno.home.paeps.cx> <1051577165.40488.5.camel@shumai.marcuscom.com> <20030429024257.GT643@juno.home.paeps.cx> <1051585952.41275.8.camel@shumai.marcuscom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1051585952.41275.8.camel@shumai.marcuscom.com> X-Date-in-Rome: ante diem III Kalendas Maias MMDCCLVI ab Urbe Condida X-PGP-Fingerprint: FA74 3C27 91A6 79D5 F6D3 FC53 BF4B D0E6 049D B879 X-Message-Flag: Get a proper mailclient! Mutt: User-Agent: Mutt/1.5.4i Subject: Re: Loads of undefined reference to `pthread_foo` X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2003 11:32:07 -0000 On 2003-04-28 23:12:33 (-0400), Joe Marcus Clarke wrote: > On Mon, 2003-04-28 at 22:42, Philip Paeps wrote: > > Mmm, it seems as though www/mod_php4 isn't compiling. It's giving the same > > errors as above. From work/php4.3.1/config.log: > > > > [...] > > /usr/local/lib/libxml2.so: undefined reference to `pthread_setspecific' > > [...] > > > > I'm trying to figure out where in the configure script best to add the > > -pthread bit. > > You shouldn't need to. What does: > > xml2-config --libs > > report? It should contain -pthread. That gives me: (pub:/usr/ports/www/mod_php4)# xml2-config --libs -L/usr/local/lib -lxml2 -lz -pthread -L/usr/local/lib -liconv -lm -L/usr/local/lib For some reason, PHP doesn't seem to be picking it up though :-/ - Philip -- Philip Paeps Please don't CC me, I am philip@paeps.cx subscribed to the list. When travelling overseas, the exchange rate improves markedly the day after one has purchased foreign currency.