Repairing Mac OS X Leopard without Time Machine I did a dumb thing and accidentally overwrote my copy of /usr/bin/sqlite3 on my Mac OS X 10.5.8. I don't have a Time Machine backup so I can't grab the file from there. When I try to run Apache2, I'm getting the error:

dyld: Library not loaded: /usr/lib/libsqlite3.0.dylib
  Referenced from: /usr/sbin/httpd
  Reason: no suitable image found.  Did find:
/usr/lib/libsqlite3.0.dylib: mach-o, but wrong architecture
/usr/lib/libsqlite3.0.dylib: mach-o, but wrong architecture
/usr/lib/libsqlite3.0.dylib: mach-o, but wrong architecture


How can I retrieve or rebuild /usr/bin/sqlite3?

Edit: Before all of this, I ran the 10.5.8 Combo Update in case something on my system was corrupted.
Reinstalling the entire Mac OS X is the guaranteed way to ensure all system components are correctly installed.

Sometimes you can get away with running a Combo Updater (the 10.5.8 in your case), it can repair a slightly damaged (or corrupted) installation.

If you are unsure of why things are missing or damaged, better to reinstall or at least run a Repair Permissions in Disk Utility. System files should be protected from deleting and you don't know if other protections are missing or changed.