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:
actualy sorry. I had --with-libxml-dir declared. Tried running it with --enable-xmlreader-/opt/xml/lib, just like the above setting and it broke on the same place as before. Previous Comments: ------------------------------------------------------------------------ [2009-06-22 13:31:48] rdohms at gmail dot com @chregu My ./configure had that and it pointed to /opt/xml/lib .. this only stopped the error for the CLI compile.. not the libphp5.so command. On that one i still had to add the -L directive stated above ------------------------------------------------------------------------ [2009-06-22 11:04:39] chr...@php.net Does it work, if you write --enable-xmlreader=/Apache/local/libxml in your ./configure call? It works for me at least ... ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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