[Python-Dev] plz test bsddb using shared linkage

Skip Montanaro skip@mojam.com (Skip Montanaro)
Sun, 31 Dec 2000 13:25:18 -0600 (CST)


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.

Thx,

Skip