Bug #10150 Updated: Error when compiling Apache 1.3.14+SSL with static PHP4.0.4
| From: | jmoore@php.net | Date: | Sun, 06 May 2001 12:17:12 +0000 |
| Subject: | Bug #10150 Updated: 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-54090@lists.php.net to get a copy of this message | ||
ID: 10150
Updated by: jmoore
Reported By: joe@ammendolias.com
Old-Status: Feedback
Status: Closed
Bug Type: Compile Failure
Operating system:
PHP Version: 4.0.4
Assigned To:
Comments:
No feedback
Previous Comments:
---------------------------------------------------------------------------
[2001-04-04 06:00:47] sniper@php.net
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
---------------------------------------------------------------------------
[2001-04-04 01:47:26] joe@ammendolias.com
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