https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120315
--- Comment #3 from Nils Gladitz <nilsgladitz at gmail dot com> --- Yes sorry I should have clarified. I use the following before running the binaries: export LD_LIBRARY_PATH=/opt/gcc-15.1.0/lib64 ldd correspondingly confirms: libstdc++.so.6 => /opt/gcc-15.1.0/lib64/libstdc++.so.6 (0x00007ccceda00000)