php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24533 Undefined symbol "res_ninit"
Submitted: 2003-07-08 04:32 UTC Modified: 2003-07-08 09:48 UTC
From: kv at gki dot ru Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.0.0b1 (beta1) OS: FreeBSD 4.7
Private report: No CVE-ID: None
 [2003-07-08 04:32 UTC] kv at gki dot ru
Description:
------------
./configure --disable-cli --exec-prefix=/usr/local/php5 --with-mnogosearch=/usr/
local/mnsh --with-imap=/usr/local --enable-ldap --enable-force-cgi-redirect --wi
th-tsrm-pth --with-dom=/usr/local --with-dom-xslt=/usr/local --with-dom-exslt=/u
sr/local --enable-inline-optimization --enable-trans-sid --enable-versioning --e
nable-ftp --with-xml --with-magic-quotes --enable-track-vars --with-png-dir=/usr
/local --with-apxs=/usr/local/apachephp5/bin/apxs --with-gd --with-jpeg-dir=/usr
/local --with-gettext=/usr/local --with-bz2=/usr/local --with-zlib=/usr --with-m
ysql=/usr/local/mysql --enable-calendar --enable-safe-mode --enable-sysvsem --en
able-sysvshm --with-config-file-path=/usr/local/php5 --with-mod_charset --enable
-bcmath --with-iconv=/usr/local

gmake
.....
gmake install
.....

./apachectl start
Syntax error on line 201 of /usr/local/apachephp5/conf/httpd.conf:
Cannot load /usr/local/apachephp5/libexec/libphp5.so into server: /usr/local/apa
chephp5/libexec/libphp5.so: Undefined symbol "res_ninit"
./apachectl start: httpd could not be started


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-08 04:45 UTC] kv at gki dot ru
and if 
./configure --exec-prefix=/usr/local/php5 --with-mnogosearch=/usr/local/mnsh --w
ith-imap=/usr/local --enable-ldap --enable-force-cgi-redirect --with-tsrm-pth --
with-dom=/usr/local --with-dom-xslt=/usr/local --with-dom-exslt=/usr/local --ena
ble-inline-optimization --enable-trans-sid --enable-versioning --enable-ftp --wi
th-xml --with-magic-quotes --enable-track-vars --with-png-dir=/usr/local --with-
apxs=/usr/local/apachephp5/bin/apxs --with-gd --with-jpeg-dir=/usr/local --with-
gettext=/usr/local --with-bz2=/usr/local --with-zlib=/usr --with-mysql=/usr/loca
l/mysql --enable-calendar --enable-safe-mode --enable-sysvsem --enable-sysvshm -
-with-config-file-path=/usr/local/php5 --with-mod_charset --enable-bcmath --with
-iconv=/usr/local

gmake
......
o Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Z
end/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functio
ns.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multiby
te.lo Zend/zend_ts_hash.lo Zend/zend_stream.lo Zend/zend_objects.lo Zend/zend_ob
ject_handlers.lo Zend/zend_objects_API.lo Zend/zend_mm.lo Zend/zend_default_clas
ses.lo Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo main/internal
_functions_cli.lo -lcrypt -lc-client4 -lbind -lcrypt -lmysqlclient -lcrypt -lpam
 -liconv -lintl -lpng -lz -ljpeg -lz -lbz2 -lz -lm -lxml2 -lz -liconv -lm -lz -l
m -lmysqlclient -lmnogosearch -lmnogocharset -lxml2 -lz -liconv -lm -lcrypt -lxm
l2 -lz -liconv -lm -lcrypt  -o sapi/cli/php
ext/standard/dns.lo: In function `zif_dns_get_record':
/second/dist/compile/php/php-5.0.0b1/ext/standard/dns.c(.text+0x18b0): undefined
 reference to `res_ninit'
/second/dist/compile/php/php-5.0.0b1/ext/standard/dns.c(.text+0x18ef): undefined
 reference to `res_nmkquery'
/second/dist/compile/php/php-5.0.0b1/ext/standard/dns.c(.text+0x191d): undefined
 reference to `res_nsend'
/second/dist/compile/php/php-5.0.0b1/ext/standard/dns.c(.text+0x1a80): undefined
 reference to `res_nclose'
gmake: *** [sapi/cli/php] ?????? 1
 [2003-07-08 09:48 UTC] sniper@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Nov 27 11:00:01 2025 UTC