Re: Error compiling Apache 1.3.24 with PHP 4.1.2
| From: | Jasper Metselaar | Date: | Tue, 09 Apr 2002 21:53:35 +0000 |
| Subject: | Re: Error compiling Apache 1.3.24 with PHP 4.1.2 | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-6600@lists.php.net to get a copy of this message | ||
Yasuo,
Thanks for your reply. I did what you told me to do, but the package I had
to reinstall was exactly the package I already installed earlier today:
[root@mybox admin]# rpm -qf /lib/libresolv.so.*
glibc-2.1.3-23
Unfortunately that did not solve the problem. Any other suggestions?
Thanks!
- Jasper
"Yasuo Ohgaki" <yasuo_ohgaki@yahoo.com> wrote in message
news:3CB30857.2080909@yahoo.com...
> 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
> >
>
>