After upgrading to DB 4.5 (auto update via emerge --ask --update world), klibido stopped working. It took some time to track down, but the boils down to that the db_cxx.h header file was symlinked to the 4.2 install and klibido was build with 4.5. After changing the symlink from the 4.2 dir to the 4.5 dir, klibido worked again (after a rebuild of course). Strangely the db.h and db_185.h were properly relinked. Reproducible: Always Steps to Reproduce: 1.Upgrade to db 4.5 2.Rebuild klibido 3.Crash of klibido
There shouldn't be a /usr/include/db_cxx.h, if there is and it's owned by any package that is a bug. The db.h and db_185.h headers are just fixes to make broken stuff compile. The structural solution is to include the actual include directory. Something that the klibido ebuild does, utilizing the db-use eclass. The problem is however that you exclusively have the masked db-4.5 library installed while klibido does not support it (and as such has broken dependencies). Further the script used in the ebuild probably complained about not being able to find a suitable version. The ebuild does not check it's return code though and as such doesn't die.
philantrop added support for db-4.5