#26544 [Fbk->Opn]: Compile fails on undefined symbol "res_ninit"

From: Date: Tue, 09 Dec 2003 18:48:49 +0000
Subject: #26544 [Fbk->Opn]: Compile fails on undefined symbol "res_ninit"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-51851@lists.php.net to get a copy of this message
ID: 26544 User updated by: andy at kksonline dot com Reported By: andy at kksonline dot com -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: FreeBSD 5.1 (Stable) PHP Version: 5CVS-2003-12-6 New Comment: Hi ! Nothing changed. Same error. Andy Previous Comments: ------------------------------------------------------------------------ [2003-12-08 17:57:48] pollita@php.net Please try changing the following line in your main/php_config.h file: /* #undef BIND_8_COMPAT */ to #define BIND_8_COMPAT 1 Then make and let us know the results. ------------------------------------------------------------------------ [2003-12-08 15:45:50] andy at kksonline dot com Hi ! For extra libs I have this... EXTRA_LIBS=-lcrypt -lbind -lm -lxml2 -lz -liconv I have Apache build totally normal (with so enabled), v2.0.44.. I usually had no problems compiling php (v3 and v4), with just this options... Andy ------------------------------------------------------------------------ [2003-12-07 13:20:15] sniper@php.net That is pretty strange since that part of the code won't be even compile if you don't have those functions.. What do you have in Makefile for EXTRA_LIBS ? ------------------------------------------------------------------------ [2003-12-06 12:54:55] andy at kksonline dot com Description: ------------ I tried beta2 (and newest image 2003/Dec/06). I used configure --with-apxs2=/path --with-pgsql=/path I was using FreeBSD 5.1 (Stable). ext/standard/dns.lo: In function `zif_dns_get_record': /php5-200312061630/ext/standard/dns.c:631: undefined reference to `res_ninit' /php5-200312061630/ext/standard/dns.c:635: undefined reference to `res_nmkquery' /php5-200312061630/ext/standard/dns.c:641: undefined reference to `res_nsend' /php5-200312061630/ext/standard/dns.c:675: undefined reference to `res_nclose' If I tried another option --with-mysql, I got the same error (in another method) Andy ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26544&edit=1

« previous php.bugs (#51851) next »