I'm having problems building PHP5 with the enable-soap option.

Since my webhost will not update libxml2 to the correct version for php5,
i have to build my own version of it before building php5.

So, i built libxml2-2.6.12, installed it to a local directory, and
configured the php option --with-libxml-dir to point to this location.

I then build php5, but when linking i get this:

<SNIP>
ext/soap/php_encoding.o: In function `to_zval_string':
/usr/home/satar/phpsrc/php-5.0.2/ext/soap/php_encoding.c:468: undefined
reference to `xmlBufferCreateStatic'
ext/soap/php_encoding.o: In function `to_zval_stringr':
/usr/home/satar/phpsrc/php-5.0.2/ext/soap/php_encoding.c:504: undefined
reference to `xmlBufferCreateStatic'
ext/soap/php_encoding.o: In function `to_zval_stringc':
/usr/home/satar/phpsrc/php-5.0.2/ext/soap/php_encoding.c:540: undefined
reference to `xmlBufferCreateStatic'
ext/soap/php_encoding.o: In function `to_xml_string':
/usr/home/satar/phpsrc/php-5.0.2/ext/soap/php_encoding.c:608: undefined
reference to `xmlBufferCreateStatic'
</SNIP>


I've pretty much determined that the linker is trying to link in the
webhost version of libxml2, which does not define xmlBufferCreateStatic.

Has anyone seen this before and/or knows how to get my build to point to
my local version of libxml2?

thanks in advance,

-kevin

Reply via email to