dev-db/mysql is missing post install steps: 1) The current ebuilds of mysql install shared libraries into /usr/lib/mysql. This is a change from the previous location of /usr/lib. The current ebuilds do not create an entry in /etc/env.d with the appropriate LDPATH. Accordingly, ldconfig does not pick up the shared libs. This is particularly annoying if older libs (from a previous install) are still in /usr/lib. ldconfig will show libmysqlclient.so.12, which is an outdated version (the new one is .15). 2) Related to above: Any ebuilds which rely on mysql need to include -L/usr/lib/mysql in the linker flags, or they will not find the necessary libraries. Can this be fixed with a system-wide setting, or does every application's ebuild need to be updated? Reproducible: Always Steps to Reproduce:
1/ You shouldn't have any outdated libmysqlclient versions installed at all. 2/ Reopen with exact mysql version and equery f dev-db/mysql output attached. Thanks.