This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author AndyP
Recipients AndyP, legerf, skip.montanaro, tlesher
Date 2008-12-05.00:07:35
SpamBayes Score 8.098161e-05
Marked as misclassified No
Message-id <1228435658.04.0.317598727967.issue4483@psf.upfronthosting.co.za>
In-reply-to
Content
In Debian Lenny libgbdm-dev provides two libs, libgdbm and libgdbm_compat:

andy@plato:~$ objdump -t /usr/lib/libgdbm.a | grep dbm_firstkey
00000000         *UND*	00000000 gdbm_firstkey
00000140 g     F .text	00000056 gdbm_firstkey

andy@plato:~$ 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).
History
Date User Action Args
2008-12-05 00:07:38AndyPsetrecipients: + AndyP, skip.montanaro, tlesher, legerf
2008-12-05 00:07:38AndyPsetmessageid: <1228435658.04.0.317598727967.issue4483@psf.upfronthosting.co.za>
2008-12-05 00:07:37AndyPlinkissue4483 messages
2008-12-05 00:07:36AndyPcreate