I’ve had some issues myself and got some reports of people who are trying to compile PHP 5.1.2. There error we get is about mulitple definitions of several PCRE lib related symbols and ends with the error that the _xmlTextReaderSchemaValidate is undefined.
ext/pcre/pcrelib/pcre_globals.o definition of _pcre_callout in section (__DATA,__data)
/usr/local/apache2/bin/httpd definition of _pcre_callout
/usr/bin/ld: warning multiple definitions of symbol _pcre_stack_free
ext/pcre/pcrelib/pcre_globals.o definition of _pcre_stack_free in section (__DATA,__data)
/usr/local/apache2/bin/httpd definition of _pcre_stack_free
/usr/bin/ld: warning multiple definitions of symbol _pcre_stack_malloc
ext/pcre/pcrelib/pcre_globals.o definition of _pcre_stack_malloc in section (__DATA,__data)
/usr/local/apache2/bin/httpd definition of _pcre_stack_malloc
/usr/bin/ld: Undefined symbols:
_xmlTextReaderSchemaValidate
collect2: ld returned 1 exit status
make: *** [libs/libphp5.bundle] Error 1
It all works on an Intel based Mac without any problem. If anyone has any idea what causes this problem please let me know !


8:05 pm
I’m having the same problem. I found this link:
http://www.webmasterworld.com/macintosh_webmaster/3077987.htm
… and it looks like a similar problem, but I still can’t find a good answer for why this is happening, or how to fix it.
-j
8:37 pm
Sorry James, but that error is caused by not having shared libraries in the packaged version of mysql. If you compile mysql after the install you’ll be fine.