ID:               44294
 Comment by:       rdohms at gmail dot com
 Reported By:      danval at gmail dot com
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: Mac 10.5 Leopard Client
 PHP Version:      5.3.0RC2
 New Comment:

Tried recompiling PHP again some time after doing it with the fresh
libxml2 install, and it no longer works, breaking with the same error as
above.

Also tried the Makefile editing and it still gives me tehe same
errors.
Tried with PHP 5.3.0RC2 and HEAD


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

[2009-05-26 01:03:05] phi...@php.net

The problem is described here:

http://blog.yimingliu.com/2009/02/24/missing-library-symbols-while-
compiling-php-528/

The provided solution (editing Makefile) worked for me.

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

[2009-05-08 18:43:33] rdohms at gmail dot com

Compiling libxml2 from source solved this for me

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

[2008-08-03 16:21:22] whisller at gmail dot com

I also have this same problem on Leopard.
But solution which you wrote, "remove all instances of libxml from your
system" can only crash Leopard ( http://jamesclarke.info/notes/libxml2/
- see comments ).

My "sudo make" also return this same error like in danval situation.

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

[2008-03-03 13:02:57] j...@php.net

Check that your installed libxml2 is clean, ie. you don't have messed
up the headers vs. libraries when installing it. It happens when if you
install it from sources and don't remove the existing installation
first. Most likely this is just a messed up installation of libxml2 so
the easiest way to solve it is first removing all instances of any
libxml2 related files from your system and reinstalling it from scratch,
then do the same for PHP. (use _fresh_ sources!)

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

[2008-03-01 08:28:51] danval at gmail dot com

Seems it was the way i configured libxml2? this was my setting

./configure --prefix=/Apache/local/libxml \
--enable-shared \
--with-zlib=/Apache/local/zlib

do you see how it would generate that error? is this zlib directory the
same as the one configured in php? 

I was able to use a binary version of libxml2 when i configured php to
successfully build.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/44294

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

Reply via email to