$ mongo mongo: symbol lookup error: mongo: undefined symbol: _ZN4YAML6detail9node_data12empty_scalarB5cxx11E Downgrading to yaml-cpp-0.6.2 works. Probably rebuilding mongodb (with yaml-cpp-0.6.3) will work too, but can't wait for that now. See also https://bugs.gentoo.org/604166 in which this is claimed to be fixed with https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dea10267a05a8b51303a6a18920441175577711 A similar dependency is still in recent ebuilds, but mongodb was not auto-rebuilt on my system when yaml-cpp was upstepped. Reproducible: Always
Yaml-cpp 0.6.2 and 0.6.3 both have the same subslot so portage didn't rebuild mongodb.
So it seems like there is an API breakage in yaml-cpp which got fixed in 0.6.3-r1. Can you please test that one instead please? https://github.com/gentoo/gentoo/commit/4f0b8303610a5eeefa5e4aa1127a27c1993372df
Please test https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f0b8303610a5eeefa5e4aa1127a27c1993372df
Test OK. Tested with the available yaml-cpp versions, mongodb-4.2.2 was not rebuilt (identical subslot) but both versions worked fine.