ID:               29665
 Comment by:       ibrash at gaernin dot aswwc dot net
 Reported By:      moontumbo at hotmail dot com
 Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Red Hat Enterprise Linux WS 3.0
 PHP Version:      5.0.1
 New Comment:

Issue reproduced on Slackware 9.1 with libxml2 2.5.11.


Previous Comments:
------------------------------------------------------------------------

[2004-08-17 08:06:37] [EMAIL PROTECTED]

Which libxml2 did you have installed before?

------------------------------------------------------------------------

[2004-08-16 21:51:08] ppritzl at hotmail dot com

Upgrading the libxml2 to 2.6.11-1 solved this issue for me on both RH9
and RH Enterprise

------------------------------------------------------------------------

[2004-08-16 11:18:27] scholz at digi-info dot de

Same on Suse 9.0. 
5.0.0 compiled properly with the same configure options.
5.0.1 crashed with.

> ext/soap/php_encoding.lo(.text+0x594): In function `to_zval_string':
> /usr/local/src/php-5.0.1/ext/soap/php_encoding.c:467: undefined 
> reference to `xmlBufferCreateStatic'
> ext/soap/php_encoding.lo(.text+0x76a): In function
`to_zval_stringr':
> /usr/local/src/php-5.0.1/ext/soap/php_encoding.c:503: undefined 
> reference to `xmlBufferCreateStatic'
> ext/soap/php_encoding.lo(.text+0x95a): In function
`to_zval_stringc':
> /usr/local/src/php-5.0.1/ext/soap/php_encoding.c:539: undefined 
> reference to `xmlBufferCreateStatic'
> ext/soap/php_encoding.lo(.text+0xc3e): In function `to_xml_string':
> /usr/local/src/php-5.0.1/ext/soap/php_encoding.c:607: undefined 
> reference to `xmlBufferCreateStatic'
> collect2: ld returned 1 exit status
> make: *** [sapi/cli/php] Error 1



./configure --prefix=/usr \
--enable-dba \
--disable-cgi \
--bindir=/usr/bin   \
--libdir=/usr/lib   \
--with-config-file-path=/etc    \
--with-exec-dir=%{libdir}/php/bin \
--with-gd=yes   \
--with-tiff-dir=/usr    \
--with-jpeg-dir=/usr    \
--with-png-dir=/usr \
--with-xpm-dir=/usr/X11R6   \
--with-zlib=yes \
--with-mhash    \
--with-bz2  \
--with-ttf  \
--with-xml=yes  \
--with-sablot   \
--with-ftp  \
--with-mcrypt   \
--with-mm   \
--with-curl \
--enable-pcntl \
--enable-sockets \
--enable-versioning \
--enable-bcmath \
--enable-trans-sid  \
--enable-inline-optimization    \
--enable-track-vars \
--enable-magic-quotes   \
--enable-sysvsem    \
--enable-sysvshm    \
--enable-shmop  \
--enable-calendar   \
--enable-ftp    \
--enable-memory-limit   \
--enable-filepro    \
--enable-ctype  \
--disable-debug \
--enable-discard-path   \
--enable-sigchild   \
--enable-gd-imgstrttf   \
--enable-calendar   \
--enable-force-cgi-redirect \
--enable-gd-native-ttf  \
--enable-mbstr-enc-trans    \
--enable-wddx   \
--with-dom=%{dom_dir}   \
--with-mcal=/usr    \
--with-mysql  \
--with-sqlite \
--with-xslt=/usr/include/libxslt/ \
--enable-pcntl \
--with-snmp \
--with-freetype-dir=yes \
--with-openssl  \
--enable-soap \
--with-apxs2=/usr/sbin/apxs2-prefork

------------------------------------------------------------------------

[2004-08-14 00:19:22] moontumbo at hotmail dot com

Description:
------------
When PHP 5.0.1 is configured with SOAP support, the compilation fails. 
We are using the same configure command that we used on PHP 5.0.0.  When
soap is removed from the configure, it compiles cleanly.


Reproduce code:
---------------
'./configure' \
'--with-config-file-path=/usr/local/apache/conf' \
'--with-apxs=/usr/local/apache/bin/apxs' \
'--enable-sigchild' \
'--with-gd' \
'--enable-gd-native-ttf' \
'--with-freetype-dir=/usr/local/lib' \
'--with-jpeg-dir=/usr/lib' \
'--with-png-dir=/usr/local/lib' \
'--with-zlib-dir=/usr/local/lib' \
'--with-xpm-dir=/usr/lib' \
'--with-openssl' \
'--with-mysql' \
'--enable-soap' \
'--with-ldap' \
'--with-t1lib' \
'--enable-bcmath' \
'--enable-calendar' \
'--enable-ftp' \
"$@"
//Configures fine.  Make fails.
make



Expected result:
----------------
Successful compilation and installation upon make install.

Actual result:
--------------
ext/soap/php_encoding.lo(.text+0x5b7): In function `to_zval_string':
/usr/local/src/php/php-5.0.1/ext/soap/php_encoding.c:467: undefined
reference to 
`xmlBufferCreateStatic'
ext/soap/php_encoding.lo(.text+0x8d5): In function `to_zval_stringr':
/usr/local/src/php/php-5.0.1/ext/soap/php_encoding.c:503: undefined
reference to 
`xmlBufferCreateStatic'
ext/soap/php_encoding.lo(.text+0xbf3): In function `to_zval_stringc':
/usr/local/src/php/php-5.0.1/ext/soap/php_encoding.c:539: undefined
reference to 
`xmlBufferCreateStatic'
ext/soap/php_encoding.lo(.text+0x1125): In function `to_xml_string':
/usr/local/src/php/php-5.0.1/ext/soap/php_encoding.c:607: undefined
reference to 
`xmlBufferCreateStatic'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29665&edit=1

Reply via email to