From owner-freebsd-questions@FreeBSD.ORG Mon Dec 20 19:19:28 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 299A016A4CE for ; Mon, 20 Dec 2004 19:19:28 +0000 (GMT) Received: from catflap.slightlystrange.org (cpc2-cmbg1-3-0-cust94.cmbg.cable.ntl.com [213.107.104.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F33A43D2D for ; Mon, 20 Dec 2004 19:19:27 +0000 (GMT) (envelope-from danielby@slightlystrange.org) Received: from danielby by catflap.slightlystrange.org with local (Exim 4.43 (FreeBSD)) id 1CgT42-0008gq-DI for freebsd-questions@freebsd.org; Mon, 20 Dec 2004 19:19:26 +0000 Date: Mon, 20 Dec 2004 19:19:26 +0000 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20041220191923.GA32770@catflap.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <41C58F92.3060108@uni-mainz.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline In-Reply-To: <41C58F92.3060108@uni-mainz.de> User-Agent: Mutt/1.4.2.1i Subject: Re: FreeBSD 5.3 and BIND9 problems! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2004 19:19:28 -0000 --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 19, 2004 at 03:26:26PM +0100, O. Hartmann wrote: > Dear Sirs. > Compiling PHP 5.0.3 from PHP.NET, PHP 5.0.2 from ./ports collection and= =20 > PHP5-SNAP from php.net fail in compiling in FreeBSD 5.3-STABLE=20 > (cvsupdated and rebuilt today!) with an error that seems to be BIND9=20 > specific: >=20 > 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' >=20 > I searched the web and mailing lists for this problem and I found out,=20 > that PHP won't compile when FreeBSD 5.x lacks in BIND9. As I know,=20 > FreeBSD 5.3 definitely has BIND9, but why is PHP not compiling the=20 > expected way? /usr/include/resolv.h does not have any definitions for=20 > the above mentioned routines and it seems to be a 'weird' failure, maybe= =20 > something I missed when installing 'world'? You don't by any chance have NO_BIND set in /etc/make.conf? I've been caught out by a similar failure in the past... Dan --=20 Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --y0ulUmNC+osPPQO6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBxyW6hvzwOpChvo8RArM0AJ9MWRRRlrQRSGS3VOJGA6av+9y77gCgpqn+ Dzlm0dcE977dns1lGhCKy30= =uIhQ -----END PGP SIGNATURE----- --y0ulUmNC+osPPQO6--