#20239: php5 can't seem to use libxml2 ------------------------+--------------------------------------------------- Reporter: jhi@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5 ------------------------+--------------------------------------------------- Comment(by ryandesign@…): Replying to [comment:3 jhi@…]:
It is not using -lxml2, I think. As I said, from the config.log:
configure:20354: /usr/bin/gcc-4.0 -o conftest -O2 -gstabs -fvisibility=hidden -I/opt/local/include -no-cpp-precomp -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/opt/local/lib conftest.c
The command continues on the next line with "-lm -lxml2 -lz -liconv -lm". php5 builds fine for me on my Mac OS X 10.5.7 Intel system so something must be different about yours. Running blb's nm command on my system I get: {{{ U _xmlInitParser 000091cd T _xmlInitParserCtxt 00020379 T _xmlInitParser U _xmlInitParser U _xmlInitParser U _xmlInitParser U _xmlInitParser }}} Since that's different than what you got, could you please try rebuilding your libxml2, after you sync and update outdated ports to make sure you have the latest software? {{{ sudo port sync port outdated sudo port upgrade outdated }}} If that did not already upgrade libxml2, then force it like this: {{{ sudo port -nf upgrade libxml2 }}} -- Ticket URL: <http://trac.macports.org/ticket/20239#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS