On 2016-07-07, Tinker <ti...@openmailbox.org> wrote: > What is OpenBSD's mechanism for ensuring that only ONE lib[e]stdc++ > version is loaded by an OS process concurrently
There isn't one. So far we have mostly got lucky, but not always, for example I know of at least one port that does an LD_PRELOAD to work around this. The biggest problem is X libraries that use C++ (Mesa) when most large or actively-maintained-upstream C++ ports require a C++11 compiler. > and that that version loaded is the NEWEST relevant version? Even just pulling in the newest one isn't always good enough, the ABI is not quite compatible. https://gcc.gnu.org/wiki/Cxx11AbiCompatibility