As far as I understand they are libraries, but what is the difference between the two?
Libraries – Difference Between .a and .so Files
libraries
Related Question
- ELF shared libraries – motivation for the PLT
- Difference between system calls and library functions
- Libraries – Difference Between lib, lib32, lib64, libx32, and libexec
- What’s the difference between a binary file and a library
- Debian – or should not shared libraries be executable (e.g. Red Hat vs Debian)
- Libstdc++.so.6 and GLIBCXX_3.4.20
Best Answer
A
.a
file is a static library, while a.so
file is a shared object (dynamic) library similar to a DLL on Windows. There's some detailed information about the differences between the two on this page.