Re: [PHP4BETA] -lbind missing now
| From: | Sascha Schumann | Date: | Tue, 07 Dec 1999 16:50:05 +0000 |
| Subject: | Re: [PHP4BETA] -lbind missing now | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-7632@lists.php.net to get a copy of this message | ||
On Tue, Dec 07, 1999 at 11:39:25AM -0600, Andrei Zmievski wrote:
>
> So, you're saying bind is installed on Solaris by default or that
> Solaris resolv incorporates bind functionality?
I'm saying that at least on Solaris 2.7 there is no standard
header file which contains
#define res_search __res_search
Solaris 2.7 also does not ship with Bind 8. I therefore
conclude that your system contains a custom (manually
installed) version of Bind 8 which causes ``res_search'' to
be defined to ``__res_search''.
You found the offending header file in /usr/local/include.
This directory seems to be in the include path of the
precompiler (configure with CC="gcc -v" to see the complete
path). Either you manually pass an -I/usr/local/include (from
the make output you posted, it does not appear so) or your
specs file adds it automatically.
--
Regards,
Sascha Schumann
Consultant