ID:               13565
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: RedHat7.1&Kernel 2.4.4
 PHP Version:      4.0.6
 New Comment:

I have the same problem. I installed the new Redhat RPMs for glibc
(glibc-2.1.3-23), but nothing helped.
I am using Redhat 6.2

I hope someone has a solution for this.

- Jasper


Previous Comments:
------------------------------------------------------------------------

[2001-12-12 06:24:33] [EMAIL PROTECTED]

You should have problem with /lib/libresolve.so.2
It compiles fine with my linux.
Reinstall libresolve. If you still have problem reopen this bug report
again.

------------------------------------------------------------------------

[2001-10-05 13:12:42] [EMAIL PROTECTED]

Almost same problem that bug ID #10941 
but it is not resolved for me in 4.0.6,
even with latest snapshot : 200110050900
(from : http://snaps.php.net/) 

gcc -c  -I./os/unix -I./include   -DLINUX=22 -I/root/php4-200110050900
-I/root/php4-200110050900/main -I/root/php4-200110050900/main
-I/root/php4-200110050900/Zend -I/root/php4-200110050900/Zend
-I/root/php4-200110050900/TSRM -I/root/php4-200110050900/TSRM
-I/root/php4-200110050900 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
`./apaci` buildmark.c
gcc  -DLINUX=22 -I/root/php4-200110050900
-I/root/php4-200110050900/main -I/root/php4-200110050900/main
-I/root/php4-200110050900/Zend -I/root/php4-200110050900/Zend
-I/root/php4-200110050900/TSRM -I/root/php4-200110050900/TSRM
-I/root/php4-200110050900 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
`./apaci`    \
      -o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a 
lib/expat-lite/libexpat.a  -Wl,-rpath,/usr/local/lib
-Wl,-rpath,/opt/oracle/product/8.1.7/lib  -rdynamic -L/usr/local/lib
-L/opt/oracle/product/8.1.7/lib -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4   -ldl -lm -ldl -lz -lcrypt -lresolv -lm
-ldl -lnsl  -lresolv -lcrypt -lclntsh   -lm -lcrypt

modules/php4/libphp4.a(dns.o): In function `zif_checkdnsrr':
/root/php4-200110050900/ext/standard/dns.c:240: undefined reference to
`__res_search'
modules/php4/libphp4.a(dns.o): In function `zif_getmxrr':
/root/php4-200110050900/ext/standard/dns.c:301: undefined reference to
`__res_search'
/root/php4-200110050900/ext/standard/dns.c:328: undefined reference to
`__dn_expand'
collect2: ld returned 1 exit status

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=13565&edit=1

Reply via email to