From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 04:32:15 2003 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 32B8D37B401 for ; Mon, 28 Apr 2003 04:32:15 -0700 (PDT) Received: from alchemistry.net (66-234-45-114.nyc.cable.nyct.net [66.234.45.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id A520843FB1 for ; Mon, 28 Apr 2003 04:32:14 -0700 (PDT) (envelope-from mail@krel.org) Received: from amavis by alchemistry.net with scanned-ok (Exim 3.36 #1) id 19A6rl-000884-00 for freebsd-questions@freebsd.org; Mon, 28 Apr 2003 07:32:13 -0400 Received: from ilya by alchemistry.net with local (Exim 3.36 #1) id 19A6rk-00087l-00 for freebsd-questions@freebsd.org; Mon, 28 Apr 2003 07:32:12 -0400 Date: Mon, 28 Apr 2003 07:32:11 -0400 From: Ilya To: freebsd-questions@freebsd.org Message-ID: <20030428113211.GA29819@krel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Virus-Scanned: by AMaViS snapshot-20020531 Subject: libxml2 problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mail@krel.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2003 11:32:15 -0000 Hi. I have several ports failing because of very similar errors in libxml2. Ive rebuild libxml several times with different options, but no help. anyone seen it before? /usr/ports/textproc/wv configure:2761: cc -o conftest -O -pipe -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -L/usr/local/lib -lwmf -lwmflite -lfreetype -L/usr/X11R6/lib -lSM -lICE -lX11 -lxml2 -lz -liconv -lm -ljpeg -lpng -lz -lm conftest.c -lwmf -L/usr/local/lib -lwmf -lwmflite -lfreetype -L/usr/X11R6/lib -lSM -lICE -lX11 -lxml2 -lz -liconv -lm -ljpeg -lpng -lz -lm 1>&5 /usr/local/lib/libxml2.so: undefined reference to `pthread_equal' /usr/local/lib/libxml2.so: undefined reference to `pthread_once' configure: failed program was: #line 2750 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char wmf_stream_create(); int main() { wmf_stream_create() ; return 0; } /usr/ports/www/mod_php4 configure:33845: gcc -o conftest -g -O2 -DHARD_SERVER_LIMIT=512 -DDOCUMENT_LOCATION="/usr/local/www/data/" -DDEFAULT_PATH="/u sr/local/bin:/bin:/usr/bin" -DACCEPT_FILTER_NAME="httpready" -DMOD_SSL=208114 -DEAPI -DEAPI_MM -DUSE_EXPAT -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib conftest.c -liconv -lz -lsasl2 -lcyrus -lcurl -lcrack -lbz2 -lz -lcrypt -lssl -lc rypto -lm -lcrypt -lcurl -lz -lssl -lcrypto -lz -lxml2 -lz -liconv -lm 1>&5 /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' configure: failed program was: #line 33834 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char iconv(); int main() { iconv() ; return 0; }