Still a portion of automagic. x11-libs/wxGTK links against libxkbcommon if installed: > !!! existing preserved libs: > >>> package: x11-libs/libxkbcommon-1.7.0-r1 > * - /usr/lib64/libxkbcommon.so.0 > * - /usr/lib64/libxkbcommon.so.0.0.0 > * used by /usr/lib64/libwx_gtk3u_core-3.2-gtk3.so.0 (preserved) > * used by /usr/lib64/libwx_gtk3u_core-3.2-gtk3.so.0.2.3 (preserved) > > lddtree /usr/lib64/libwx_gtk3u_core-3.2-gtk3.so.0 > libwx_gtk3u_core-3.2-gtk3.so.0 => /usr/lib64/libwx_gtk3u_core-3.2-gtk3.so > .0 (interpreter => none) > libxkbcommon.so.0 => not found See https://github.com/wxWidgets/wxWidgets/blob/master/configure.ac#L4993