I decided to try db4.5_stat as well... It turn out this one works fine on non-existant directories.
% ldd /usr/lib/python2.5/lib-dynload/dbm.so (20:22/10322) linux-gate.so.1 => (0xffffe000) libdb-4.4.so => /usr/lib/libdb-4.4.so (0xb7e14000) libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7dfd000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7cbb000) /lib/ld-linux.so.2 (0x80000000)
suggests the dbm module in python is using libdb4.4 and this problem might just go away once the dbm module uses a later version of libdb but I admit I don't much about the policies behind that.
I decided to try db4.5_stat as well... It turn out this one works fine on non-existant directories.
% ldd /usr/lib/ python2. 5/lib-dynload/ dbm.so (20:22/10322)
linux- gate.so. 1 => (0xffffe000)
libdb- 4.4.so => /usr/lib/ libdb-4. 4.so (0xb7e14000)
libpthread. so.0 => /lib/tls/ i686/cmov/ libpthread. so.0 (0xb7dfd000) i686/cmov/ libc.so. 6 (0xb7cbb000)
/lib/ld- linux.so. 2 (0x80000000)
libc.so.6 => /lib/tls/
suggests the dbm module in python is using libdb4.4 and this problem might just go away once the dbm module uses a later version of libdb but I admit I don't much about the policies behind that.