The glibc & GLIBCXX cheat sheet
Two independent gates decide whether a binary runs: GLIBC_* from
libc.so.6 and GLIBCXX_* from libstdc++.so.6. This sheet puts the
measured versions for 27 releases on one printable page, then the two commands that matter and
the fixes that actually work.
What is on it
- 27 rows: distribution, release, glibc, musl, GLIBCXX - read out of the official images
- The two-gate explanation, including the Rocky 9 trap (glibc 2.34, GLIBCXX 3.4.29)
- Two commands to check the host, three to check the binary
- Five fixes that do not work, and four that do
Where the numbers come from
Every version was collected by pulling the official Docker image and asking the toolchain inside it, not by copying a wiki. The harvesting script and the raw data are public: github.com/luckyray/glibc-matrix.
If a row disagrees with your machine, that is worth knowing - open an issue and it gets re-measured.