From:             [EMAIL PROTECTED]
Operating system: Redhat 7
PHP version:      4.0.4
PHP Bug Type:     Compile Failure
Bug description:  Error when compiling Apache 1.3.14+SSL with static PHP4.0.4

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?


-- 
Edit Bug report at: http://bugs.php.net/?id=10150&edit=1



-- 
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