I kept hitting the same two errors on builds that worked a minute earlier:
version `GLIBC_2.34' not found version `GLIBCXX_3.4.29' not found
Enter fullscreen mode
Exit fullscreen mode
The advice everywhere is "copy the library from the machine where it works". I tried
it properly, with a real build, and it fails one layer deeper than you expect. That
sent me looking for an actual table of what each distribution ships — and none
existed, so I measured one.
What I measured
For each release: ldd --version for glibc, and the highest GLIBCXX_* symbol
version inside libstdc++.so.6 . Every row came out of the official image, not from
memory.…