Menu

glibc and GLIBCXX versions by distribution, measured inside 27 official images
📰

glibc and GLIBCXX versions by distribution, measured inside 27 official images

DEV Community: docker·Weifeng Liu·1 day ago
#nBYE9eNQ
#devtodocker#devto#dev#libstdc#version
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.