From owner-freebsd-ports@FreeBSD.ORG Wed Sep 3 09:37:24 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 1B91F16A4BF for ; Wed, 3 Sep 2003 09:37:24 -0700 (PDT) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C94E43FE9 for ; Wed, 3 Sep 2003 09:37:22 -0700 (PDT) (envelope-from rehsack@liwing.de) Received: (qmail 80667 invoked from network); 3 Sep 2003 16:37:21 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 3 Sep 2003 16:37:21 -0000 Message-ID: <3F5618C0.50808@liwing.de> Date: Wed, 03 Sep 2003 16:37:20 +0000 From: Jens Rehsack User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030821 X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: Roman Neuhauser References: <20030903154539.GA68228@freepuppy.bellavista.cz> In-Reply-To: <20030903154539.GA68228@freepuppy.bellavista.cz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ports Subject: Re: lang/php4-cli build failure 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: Wed, 03 Sep 2003 16:37:24 -0000 Roman Neuhauser wrote: > textproc/libxml2-2.5.10 knobs used: > -DWITH_THREADS -DWITH_SCHEMA > > lang/php4-cli-4.3.3 knobs used: > -DBATCH PHP4_OPTIONS="BCMATH BZIP2 CDB CRACK CTYPE CURL DOMXML DOMXSLT FTP GD GETTEXT ICONV IMAP INIFILE MBSTRING MCRYPT MHASH MIME MYSQL OPENSSL OVERLOAD PCRE POSIX POSTGRESQL SESSION SOCKETS TOKENIZER XML XMLRPC ZIP ZLIB" > > lang/php4-cli build fails with > > configure:35980: checking for GNU gettext support > configure:36040: checking for bindtextdomain in -lintl > configure:36059: cc -o conftest -O2 -pipe -R/usr/local/lib -L/usr/local/lib -L/usr/local/lib conftest.c -lintl -lexslt -lxsltbreakpoint -lxml2 -lxslt -lz -lcurl -lcrack -lbz2 -lz -lssl -lcrypto -lm -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_cond_init' > /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' > > provided the above is enough information, what's the quick fix? > Add a '-lc_r' to the libraries php is linked against. Jens