From owner-freebsd-ports@FreeBSD.ORG Mon Apr 28 17:23:00 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 952A437B401 for ; Mon, 28 Apr 2003 17:23:00 -0700 (PDT) Received: from tartarus.telenet-ops.be (tartarus.telenet-ops.be [195.130.132.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 666F843F85 for ; Mon, 28 Apr 2003 17:22:59 -0700 (PDT) (envelope-from philip@paeps.cx) Received: from localhost (localhost.localdomain [127.0.0.1]) by tartarus.telenet-ops.be (Postfix) with SMTP id 1DCB2DB948 for ; Tue, 29 Apr 2003 02:22:58 +0200 (CEST) Received: from fortuna.home.paeps.cx (D5768746.kabel.telenet.be [213.118.135.70]) by tartarus.telenet-ops.be (Postfix) with ESMTP id 0BAAFDB944 for ; Tue, 29 Apr 2003 02:22:58 +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 D2723213F for ; Tue, 29 Apr 2003 02:22:57 +0200 (CEST) Received: by juno.home.paeps.cx (Postfix, from userid 1001) id 591BA210B; Tue, 29 Apr 2003 02:22:51 +0200 (CEST) Date: Tue, 29 Apr 2003 02:22:50 +0200 From: Philip Paeps To: freebsd-ports@freebsd.org Message-ID: <20030429002250.GM643@juno.home.paeps.cx> Mail-Followup-To: freebsd-ports@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline 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: 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 00:23:00 -0000 For some obscure reason, I can't get anything to link properly with libxml2 today. I keep getting errors like: /usr/local/lib/libxml2.so: undefined reference to `pthread_cond_signal' /usr/local/lib/libxml2.so: undefined reference to `pthread_getspecific' /usr/local/lib/libxml2.so: undefined reference to `pthread_equal' /usr/local/lib/libxml2.so: undefined reference to `pthread_once' /usr/local/lib/libxml2.so: undefined reference to `pthread_key_create' /usr/local/lib/libxml2.so: undefined reference to `pthread_mutex_unlock' /usr/local/lib/libxml2.so: undefined reference to `pthread_self' /usr/local/lib/libxml2.so: undefined reference to `pthread_mutex_destroy' /usr/local/lib/libxml2.so: undefined reference to `pthread_mutex_lock' /usr/local/lib/libxml2.so: undefined reference to `pthread_cond_wait' /usr/local/lib/libxml2.so: undefined reference to `pthread_mutex_init' /usr/local/lib/libxml2.so: undefined reference to `pthread_setspecific' I don't know what all changed on the box either, perhaps someone could point me in the right direction towards debugging this, and preferably fixing it :-) Things which were linked with libxml2 (such as PHP) die with errors like: /usr/libexec/ld-elf.so.1: /usr/local/lib/libxml2.so.5: Undefined symbol "pthread_once" This might be a bit thin, but I've not found anything else so far. I managed to get things to work again by simply not linking with libxml2, but in the long run, that obviously doesn't solve the problem. I've already portupgraded -Rf textproc/libxml2 without any sort of success. Thanks for any help. - Philip [who's supposed to fix things others have broken *sigh*] -- Philip Paeps Please don't CC me, I am philip@paeps.cx subscribed to the list. If you are already in a hole, there's no use to continue digging.