Andrew Price <[EMAIL PROTECTED]> added the comment: In Debian Lenny libgbdm-dev provides two libs, libgdbm and libgdbm_compat:
[EMAIL PROTECTED]:~$ objdump -t /usr/lib/libgdbm.a | grep dbm_firstkey 00000000 *UND* 00000000 gdbm_firstkey 00000140 g F .text 00000056 gdbm_firstkey [EMAIL PROTECTED]:~$ objdump -t /usr/lib/libgdbm_compat.a | grep dbm_firstkey 00000000 *UND* 00000000 gdbm_firstkey 00000000 g F .text 00000060 dbm_firstkey 00000000 *UND* 00000000 gdbm_firstkey So it looks like we need to link against -lgdbm_compat instead of -lgdbm for the _dbm module. I'm attaching dbm3.diff which seems to fix the problem (I did a test build with it). Added file: http://bugs.python.org/file12230/dbm3.diff _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4483> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com