https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2187 This bugzilla entry is similar to what I've reported: configure finds the header of some 3.x version of Berkeley DB, but linking is tried with db-4.0. Can this be fixed in a way that will allow linking with db3.x ? Thank you, Adrian Buciuman