#24533 [Opn]: Undefined symbol "res_ninit"
| From: | kv at gki dot ru | Date: | Tue, 08 Jul 2003 09:45:14 +0000 |
| Subject: | #24533 [Opn]: Undefined symbol "res_ninit" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-43426@lists.php.net to get a copy of this message | ||
ID: 24533
User updated by: kv at gki dot ru
Reported By: kv at gki dot ru
Status: Open
Bug Type: Unknown/Other Function
Operating System: FreeBSD 4.7
PHP Version: 5.0.0b1 (beta1)
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2003-07-08 04:32:10] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24533&edit=1