Error compiling Apache 1.3.24 with PHP 4.1.2
| From: | Jasper Metselaar | Date: | Tue, 09 Apr 2002 08:25:19 +0000 |
| Subject: | Error compiling Apache 1.3.24 with PHP 4.1.2 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6590@lists.php.net to get a copy of this message | ||
Hello,
I am trying to compile Apache 1.3.24 with PHP 4.1.2, but when
compiling I get the following errors:
modules/php4/libphp4.a(dns.o): In function `zif_checkdnsrr':
/home/admin/php-4.1.2/ext/standard/dns.c:223: undefined reference to `__res_search'
modules/php4/libphp4.a(dns.o): In function `zif_getmxrr':
/home/admin/php-4.1.2/ext/standard/dns.c:284: undefined reference to `__res_search'
/home/admin/php-4.1.2/ext/standard/dns.c:311: undefined reference to `__dn_expand'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/home/admin/apache_1.3.24/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/admin/apache_1.3.24'
make: *** [build] Error 2
In the PHP bug tracking system and found #13565. In reply to this bug
ticket, it was said that it was probably a problem with
/lib/libresolv.so.2.
I reinstalled glibc-2.1.3-23 (Redhat RPM), which includes this
libresolv.so.2, but it did not help.
I am running Redhat 6.2 on my system.
Any suggestions and/or help would be really appreciated.
Thanks in advance,
Jasper