Just updated from db 4.5 to 4.6, removing 4.5, and found I needed to rebuild ruby because the dbm extension uses sys-libs/db automagically (no dep in the ebuild). Please add a berkdb USE flag to disable it. Thanks, Diego
Fixed in dev-lang/ruby-1.8.6_p111-r1