glibc version used while building .a file
Question
Is there a way to find out from .a file what version of glibc is expected or was used when building the .a?
Solution
It's not a meaningful question about an ar file or a .o file. All they record is naked symbol names. When you make a shared object or an executable, the linker gives you symbols references like time@@GLIBC_2.2.5
for the undefined symbols.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow