Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Dec 2004 15:26:26 +0100
From:      "O. Hartmann" <ohartman@uni-mainz.de>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD 5.3 and BIND9 problems!
Message-ID:  <41C58F92.3060108@uni-mainz.de>

next in thread | raw e-mail | index | archive | help
Dear Sirs.
Compiling PHP 5.0.3 from PHP.NET, PHP 5.0.2 from ./ports collection and 
PHP5-SNAP from php.net fail in compiling in FreeBSD 5.3-STABLE 
(cvsupdated and rebuilt today!) with an error that seems to be BIND9 
specific:

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'

I searched the web and mailing lists for this problem and I found out, 
that PHP won't compile when FreeBSD 5.x lacks in BIND9. As I know, 
FreeBSD 5.3 definitely has BIND9, but why is PHP not compiling the 
expected way? /usr/include/resolv.h does not have any definitions for 
the above mentioned routines and it seems to be a 'weird' failure, maybe 
something I missed when installing 'world'?

PHP5.0.2 built without problems in FreeBSD 5.2.1 and FreeBSD 
5.3-RELEASE-p1, but not in FreeBSD 5.3-STABLE. Some suggestions?

Thanks in advance,
Oliver



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41C58F92.3060108>