To the gentleman who is getting the block index error, I suggest moving your wallet.dat to a safe place and try to sync from nothing at all. If that works, then delete the new wallet.dat and copy the old one in. That should solve it. If not, PM me or Thundertoe, we'll get you sorted.
even without config directory (~/.tekcoin), i get the same error...
the old wallet syncs the chain without problems, thank you.
edit: both new and old wallets are linked against berkeley db 4.8