A bug was filed on SF contending that the default linkage for bsddb should be shared instead of static because some Linux systems ship multiple versions of libdb.
Would those of you who can and do build bsddb (probably only unixoids of some variety) please give this simple test a try? Uncomment the *shared* line in Modules/Setup.config.in, re-run configure, build Python and then try:
import bsddb db = bsddb.btopen("/tmp/dbtest.db", "c") db["1"] = "1" print db["1"] db.close() del db
If this doesn't fail for anyone I'll check the change in and close the bug report, otherwise I'll add a(nother) comment to the bug report that *shared* breaks bsddb for others and close the bug report.
... Would those of you who can and do build bsddb (probably only unixoids of some variety) please give this simple test a try?
Just noting that bsddb already ships with the Windows installer as a (shared) DLL. But it's an old (1.85?) Windows port from Sam Rushing.