Message76948
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). |
|
Date |
User |
Action |
Args |
2008-12-05 00:07:38 | AndyP | set | recipients:
+ AndyP, skip.montanaro, tlesher, legerf |
2008-12-05 00:07:38 | AndyP | set | messageid: <1228435658.04.0.317598727967.issue4483@psf.upfronthosting.co.za> |
2008-12-05 00:07:37 | AndyP | link | issue4483 messages |
2008-12-05 00:07:36 | AndyP | create | |
|