Problems compiling PHP 5.0.2 on Fedora Core 3

[email protected] (Andrew Lee Paul)
Newsgroups php.install
Message-ID <[email protected]>
Hello All

I am trying to compile PHP 5.0.2 on a freshly
installed Fedora Core 3.

This is my PHP configure:

./configure \
	--with-mysql=/usr/local/mysql \
	--with-apxs=/usr/local/apache/bin/apxs \
	--with-mcrypt=/usr/local/lib \
	--enable-trans-sid \
	--enable-track-vars \
	--enable-exif \
	--enable-mbstring \
	--enable-soap \
	--with-zlib \
	--with-zlib-dir

I have successfully installed:


http://ftp.idilis.ro/mirrors/fedora/core/3/i386/os/Fedora/RPMS/zlib-*.rpm

ftp://ftp.gnome.org/mirror/gnome.org/sources/libxml2/2.5/libxml2-2.5.7.tar.gz

ftp://argeas.cs-net.gr/pub/unix/mcrypt/libmcrypt/libmcrypt-2.5.7.tar.gz

The MySQL (Standard 4.0.22) and Apache (1.3.32)
installations are working perfectly.

I configured libmcrypt with:

	./configure --disable-posix-threads

The configure command runs successfully, however, when
I 'make', I get the error message that is below this
e-mail and the compile terminates.

Does anyone understand what is going on here? I have
installed PHP in a LAMP environment 100s of times and
never come across this.

Installing PHP 5.0.2 on RH9 in the identical
configuration works perfectly.

Any help would be greatly received.

Thank you cordially in advance.

Andrew

---

Last lines of make dump:

 Zend/zend_constants.lo Zend/zend_dynamic_array.lo
Zend/zend_execute_API.lo Zend/zend_highlight.lo
Zend/zend_llist.lo Zend/zend_opcode.lo
Zend/zend_operators.lo Zend/zend_ptr_stack.lo
Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo
Zend/zend_API.lo Zend/zend_extensions.lo
Zend/zend_hash.lo Zend/zend_list.lo
Zend/zend_indent.lo Zend/zend_builtin_functions.lo
Zend/zend_sprintf.lo Zend/zend_ini.lo
Zend/zend_qsort.lo Zend/zend_multibyte.lo
Zend/zend_ts_hash.lo Zend/zend_stream.lo
Zend/zend_iterators.lo Zend/zend_interfaces.lo
Zend/zend_exceptions.lo Zend/zend_objects.lo
Zend/zend_object_handlers.lo Zend/zend_objects_API.lo
Zend/zend_mm.lo Zend/zend_default_classes.lo
Zend/zend_reflection_api.lo Zend/zend_execute.lo
sapi/cli/php_cli.lo sapi/cli/getopt.lo
main/internal_functions_cli.lo -lcrypt -lcrypt
-lmysqlclient -lmcrypt -lz -lresolv -lm -ldl -lnsl
-lxml2 -lm -lxml2 -lm -lxml2 -lm -lxml2 -lm -lcrypt
-lxml2 -lm -lcrypt  -o sapi/cli/php
ext/soap/php_encoding.lo(.text+0x1bc): In function
`to_zval_string':
/usr/src/php-5.0.2/ext/soap/php_encoding.c:467:
undefined reference to `xmlBufferCreateStatic'
ext/soap/php_encoding.lo(.text+0x39f): In function
`to_zval_stringr':
/usr/src/php-5.0.2/ext/soap/php_encoding.c:503:
undefined reference to `xmlBufferCreateStatic'
ext/soap/php_encoding.lo(.text+0x587): In function
`to_zval_stringc':
/usr/src/php-5.0.2/ext/soap/php_encoding.c:539:
undefined reference to `xmlBufferCreateStatic'
ext/soap/php_encoding.lo(.text+0x3695): In function
`to_xml_string':
/usr/src/php-5.0.2/ext/soap/php_encoding.c:607:
undefined reference to `xmlBufferCreateStatic'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


-----




		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.