FreeBSD 5.3 and BIND9 problems!
O. Hartmann
ohartman at uni-mainz.de
Sun Dec 19 06:26:05 PST 2004
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
More information about the freebsd-questions
mailing list