#29665 [Com]: PHP Fails to compile when soap is enabled
ID: 29665
Comment by: scholz at digi-info dot de
Reported By: moontumbo at hotmail dot com
Status: Open
Bug Type: Compile Failure
Operating System: Red Hat Enterprise Linux WS 3.0
PHP Version: 5.0.1
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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
Thread (18 messages)
- moontumbo at hotmail dot com
- scholz at digi-info dot de#29665 [Com]: PHP Fails to compile when soap is enabled
- ppritzl at hotmail dot com#29665 [Com]: PHP Fails to compile when soap is enabled
- derick@php.net#29665 [Opn->Fbk]: PHP Fails to compile when soap is enabled
- ibrash at gaernin dot aswwc dot net#29665 [Com]: PHP Fails to compile when soap is enabled
- php-bugs at lists dot php dot net#29665 [Fbk->NoF]: PHP Fails to compile when soap is enabled
- michiel at dotgeek dot org#29665 [Com]: PHP Fails to compile when soap is enabled
- clewis at myfonts dot com#29665 [Com]: PHP Fails to compile when soap is enabled
- philip@php.net#29665 [NoF->Opn]: PHP Fails to compile when soap is enabled
- amit dot gupta at prudence-india dot com#29665 [Com]: PHP Fails to compile when soap is enabled
- luis at infomed dot sld dot cu#29665 [Com]: PHP Fails to compile when soap is enabled
- yansanmo at iquebec dot com#29665 [Com]: PHP Fails to compile when soap is enabled
- amitguptainn at yahoo dot co dot in #29665 [Com]: PHP Fails to compile when soap is enabled
- ykobayas at zet dot co dot jp#29665 [Com]: PHP Fails to compile when soap is enabled
- sniper@php.net#29665 [Opn->Fbk]: PHP Fails to compile when soap is enabled
- php-bugs at lists dot php dot net#29665 [Fbk->NoF]: PHP Fails to compile when soap is enabled
- mohsen dot gamshad at schwab dot com#29665 [Com]: PHP Fails to compile when soap is enabled
- admin at isprohosting dot com#29665 [Com]: PHP Fails to compile when soap is enabled