ID: 44294 Comment by: whisller at gmail dot com Reported By: danval at gmail dot com Status: No Feedback Bug Type: Compile Failure Operating System: Mac 10.5 Leopard Client PHP Version: 5.2-latest New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2008-03-11 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2008-03-03 13:02:57] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [2008-03-01 04:09:28] danval at gmail dot com returned the exact same error?? Anything else it could be? what does that error mean? main/internal_functions.o -lmysqlclient -lmhash -lmcrypt -lltdl -liconv -lpng -lz -ljpeg -lcurl -lz -lm -lxml2 -lz -liconv -lm -lcurl -lssl -lcrypto -lldap -lz -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -o libs/libphp5.bundle && cp libs/libphp5.bundle libs/libphp5.so Undefined symbols: "_xmlTextReaderSchemaValidate", referenced from: _zim_xmlreader_setSchema in php_xmlreader.o "_xmlTextReaderSetup", referenced from: _zim_xmlreader_XML in php_xmlreader.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [libs/libphp5.bundle] Error 1 adsl-69-234-187-240:php5.2-200803010330 ------------------------------------------------------------------------ [2008-03-01 01:28:22] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi ------------------------------------------------------------------------ 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