I should mention that I've had /a lot/ of trouble with pybsddb's setup.py stuff too, especially w.r.t. linking. I should have remembered this when you first posted about it. I'll try to post my build recipe when I get some time, but I think setup.py could use some fixing. -Barry