Skip to content
Archive of entries posted on February 2009

Fixing undefined library symbols for compiling PHP 5.2.8

So while compiling PHP 5.2.8 on OS X 10.5, you might run into something like:
Undefined symbols for architecture i386:
“_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 for architecture i386
collect2: ld returned 1 exit status
Undefined symbols [...]