Re: [PHP4BETA] -lbind missing now
| From: | Sascha Schumann | Date: | Tue, 07 Dec 1999 16:38:25 +0000 |
| Subject: | Re: [PHP4BETA] -lbind missing now | ||
| References: | 1 2 3 4 5 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-7630@lists.php.net to get a copy of this message | ||
On Tue, Dec 07, 1999 at 11:30:36AM -0600, Andrei Zmievski wrote:
>
> Here's the compilation line for fsock.c:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../..
> -I../../libzend -I/projects/compile/gd1.3
> -I/usr/local/etc/mysql/include/mysql -I/usr/local/include/xml
> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -Wall -O2 -c fsock.c -o
> fsock.o
>
> Looking further: /usr/local/include/arpa/inet.h has
>
> #define inet_aton __inet_aton
>
> But there is also /usr/include/arpa/inet.h which doesn't have it.
> Similarly, resolv.h is in both directories.
I've always preferred how Bind is installed on Linux. Header
files and libraries go into /usr/local/bind/{include,lib},
and cannot be easily mixed up with the standard headers.
I don't think we can cover your "broken" installation. You
might want to configure with
$ LDFLAGS="-L/usr/local/bin" ./configure <...>
--
Regards,
Sascha Schumann
Consultant