The major library version number (e.g., 5 vs 6) isn't enough: the symbols even within lib.so.6 are versions and some may update every glibc version, so in general you may have problems building against a new libc 6 then running on a system with an old libc 6 (you'll get a runtime error from the dynamic loader complaining a missing versioned symbol).
Re:Single binary executable packages
by admax88qqq on Thursday March 03, 2022 @01:48PM
(#30545003)
Yay for "semantic versioning" lol.
But yeah that's pretty rare tbh.