PHP 4.0 Bug #10150: Error when compiling Apache 1.3.14+SSL with static PHP4.0.4

From: Date: Wed, 04 Apr 2001 05:47:27 +0000
Subject: PHP 4.0 Bug #10150: Error when compiling Apache 1.3.14+SSL with static PHP4.0.4
Groups: php.dev 
Request: Send a blank email to php-dev+get-50803@lists.php.net to get a copy of this message
From: joe@ammendolias.com 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

« previous php.dev (#50803) next »