Date archives: September 9th, 2009

Apache, PHP, Zend Debugger and Snow Leopard are conspiring to kill me

After an OS upgrade to Snow Leopard, I find myself unable to rebuild PHP.

  • iconv still throws undefined symbol errors. This is no longer fixable by adding -liconv to the EXTRA_LIBS in the Makefile
  • MH_BUNDLE_FLAGS needs to be moved to the end of the group at line 155 otherwise I get more undefined errors
  • After giving up on doing it manually, Macports install of tidy gives a fatal error about lazy symbol binding failing
  • Many of my libraries were built as 32-bit, though this was easy to rectify
  • Even after giving up on iconv and tidy, ZendDebugger is not available for 64-bit on OSX yet. At least, not that I can get to.

That last one is the kicker, since I really enjoy having the debugger so well integrated with Zend Studio 5.5.

So for the time being, it looks like I’ll be staying with the install I’ve got. Unless Zend releases a 64-bit version for OSX, my next step will be to figure out how to compile as 32-bit so I can retain control over my install.

Entirely too many hours spent on getting this to work, and I end up using Time Machine to restore my old install. Hooray for frequent backups though. Otherwise I’d have had to recompile all of my old libraries as 32-bit. And that would have been the end of me.

Update: Success!