On Mac OS, the linker NEVER links in unused libs. For this reason, building dev-lang/python with USE=gdbm fails in the same way as bug 298674.
Unfortunately, there is no way to turn this off (at least that I know of, and I even read the manpage!), so the workaround for bug 298674 won't work.
I used otool to look at libgdbm_compat.dylib, and I found that it is NOT linked to libgdbm.dylib:
$ otool -L ~/Gentoo/usr/lib/libgdbm_compat.dylib
/Users/chip/Gentoo/usr/lib/libgdbm_compat.3.dylib (compatibility version 4.0.0, current version 4.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
That's odd. Now why would that be?
Ping. Any ideas?
please update to gdbm-1.8.3-r04.1, I reverted the hack from bug #223865, because it's causing this behaviour
Yep, that fixed it. Thanks again.