ID: 10150
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Compile Failure
Assigned To: 
Comments:

Could you please try the latest CVS snapshot from http://snaps.php.net/
as there have been some fixes regarding this.
(and just use the configure line without any LIBS defined)

--Jani


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

[2001-04-04 01:47:26] [EMAIL PROTECTED]
When compiling apache 1.3.14 (with apache-ssl patches applied) and php 4.0.4 (Static) 
I get the following results:


<...snip...>
gcc  -DLINUX=2 -DTARGET="httpsd" -I/data/apache/php-4.0.4 
-I/data/apache/php-4.0.4/main -I/data/apache/php-4.0.4/main 
-I/data/apache/php-4.0.4/Zend -I/data/apache/php-4.0.4/Zend 
-I/data/apache/php-4.0.4/TSRM -I/data/apache/php-4.0.4/TSRM -I/data/apache/php-4.0.4 
-DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED -DAPACHE_SSL `./apaci`    
      -o httpsd buildmark.o modules.o modules/standard/libstandard.a 
modules/ssl/libssl.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a 
ap/libap.a  lib/expat-lite/libexpat.a -lnss_dns -rdynamic -Lmodules/php4 
-L../modules/php4 -L../../modules/php4 -lmodphp4  -lpam -lc-client  -ldl -lresolv -lm 
-ldl -lcrypt -lnsl  -lresolv   -lm -L/usr/local/ssl/lib -lssl -lcrypto
modules/php4/libphp4.a(dns.lo): In function `php_if_checkdnsrr':
/data/apache/php-4.0.4/ext/standard/dns.c:200: undefined reference to `__res_search'
<...snip...>

I saw a similar problem reported (bug# 4739) but as you can see above, I attempted to 
run configure with the 'EXTRA_LIBS="-lnss_dns" and still no luck. (Actually the 
configure script reported that EXTRA_LIBS was deprecated and should be replaced with 
simply LIBS so thats what I did.)


Any suggestions?

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



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10150&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to