From owner-freebsd-questions@FreeBSD.ORG Wed Dec 15 09:46:52 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 8814016A4CE for ; Wed, 15 Dec 2004 09:46:52 +0000 (GMT) Received: from mailgate2.zdv.Uni-Mainz.DE (mailgate2.zdv.Uni-Mainz.DE [134.93.178.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AD6A43D31 for ; Wed, 15 Dec 2004 09:46:52 +0000 (GMT) (envelope-from ohartman@uni-mainz.de) Received: from [134.93.183.16] (edda.Geo.Uni-Mainz.DE [134.93.183.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailgate2.zdv.Uni-Mainz.DE (Postfix) with ESMTP id A7C58300040B for ; Wed, 15 Dec 2004 10:46:50 +0100 (CET) Message-ID: <41C00827.50905@uni-mainz.de> Date: Wed, 15 Dec 2004 10:47:19 +0100 From: "O. Hartmann" Organization: Institut =?ISO-8859-15?Q?f=FCr_Geophysik?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-AT; rv:1.7.3) Gecko/20041113 X-Accept-Language: de-de, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at uni-mainz.de Subject: FreeBSD 5.3-STABLE: PHP 5.0.2 won't compile 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, 15 Dec 2004 09:46:52 -0000 Hello. Under FreeBSD 5.3-STABLE, PHP 5.0.2 from ports collection will not compile anymore. Compilation ends up with ext/standard/dns.lo(.text+0x1d49): In function `.L166': : undefined reference to `res_ninit' ext/standard/dns.lo(.text+0x1db5): In function `.L166': : undefined reference to `res_nmkquery' ext/standard/dns.lo(.text+0x1de7): In function `.L166': : undefined reference to `res_nsend' ext/standard/dns.lo(.text+0x1f6a): In function `.L166': : undefined reference to `res_nclose' *** Error code 1 I found some threads about BIND/BIND9 relating things and it seemed to me that BIND9 is neccessary to compile PHP 5.0.2 properly but I thought BIND9 is now standard in 5.3. In /etc/make.conf with "WITH_BIND_LIBS= true" enabled, I built world again hoping I get a possibly missing library or .h file to get php compiling as expected, but with no success. Is there a hint to come along with this? Thanks a lot Oliver