ID: 44294 Updated by: chr...@php.net 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:
Does it work, if you write --enable-xmlreader=/Apache/local/libxml in your ./configure call? It works for me at least ... Previous Comments: ------------------------------------------------------------------------ [2009-06-19 14:28:32] rdohms at gmail dot com Ok. Phillips solution points to the right direction. The changes in the Makefile did not work for me, seems there was more then one point to it. The solution came down to adding -L/path/to/lib in front of all the commands that generate the broken message reported above. I then ran these commands (2 in my case, for libphp5.so and the cli) by hand and ran make again, so it pickedup from where it had stopped. This worked for me in 5.3RC2 and HEAD. PS: you need to include "lib"in the --with-libxml-dir and in these paths above ------------------------------------------------------------------------ [2009-06-19 12:49:59] rdohms at gmail dot com 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 ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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