For your second problem, it looks like postgres.so is missing, or at least hiding somewhere other than where your birdnotes.tcl file says it is?