Re: Error compiling Apache 1.3.24 with PHP 4.1.2
| From: | Yasuo Ohgaki | Date: | Tue, 09 Apr 2002 15:27:19 +0000 |
| Subject: | Re: Error compiling Apache 1.3.24 with PHP 4.1.2 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-6595@lists.php.net to get a copy of this message | ||
Sorry Jasper,
I'm replying to wrong one.
It seems you have problem with resolver lib.
As someone already mentioned.
rpm -qf /lib/libresolve.so.*
to find out package name.
The reinstall both resolver rpm and it's devel rpm (if any)
Then your problem should be fixed.
--
Yasuo Ohgaki
Jasper Metselaar wrote:
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