The program I'm porting needs fast access to huge dictionaries, and not so much relational acces. So I thought I'd better use (G)DB. I asked for Berkeley because I read that GDB isn't supported anymore, that aside it would be fine too, and given an existing gpc interface module even a clear favourite.
I think you want to talk about GDBM. GDB is the GNU debugger. GDBM is the GNU database manager. GDBM still has a maintainer. Not much work has been done on it recently partly due to the fact it works resonably.
I have recently had reports that GDBM is faster than Sleepycat DB in some cases. If you need architecure independence, you need DB, not GDBM.
In either case, it should be a straight forward process to get access to them from gpc.
--Phil