May 29, 2007

Shocked and awed

So I got hit by the ugly prebinding bug detailed by Rosyna, and didn't even realize it until two months after it happened.

It only poked its head when I tried to play with PHP, and got this:

[Jeff-Macbookpro:/usr/bin] jeff% /usr/bin/php
dyld: Library not loaded: /usr/lib/libiodbcinst.2.dylib
Referenced from: /usr/lib/libiodbc.2.dylib
Reason: no suitable image found.  Did find:
      /usr/lib/libiodbcinst.2.dylib: file to short
      /usr/lib/libiodbcinst.2.dylib: file to short
Trace/BPT trap
Sure enough, I checked out that dylib and found that it was zero bytes long. Based on the modification date, it looks like I was zapped during the Mac OS X 10.4.9 update.

I fixed the problem by getting a fresh copy of that file from a friend, copying it over, repairing permissions (one of the few times that permissions repair is actually useful), and updating the prebinding once more. After that, PHP worked like a charm.

Posted by Jeffrey at May 29, 2007 1:59 PM
What is a TrackBack? Learn more here.

TrackBack URL for this entry:


Listed below are links to the 0 weblogs that reference 'Shocked and awed' from Geekable.com.