Libraries – Difference Between .a and .so Files

libraries

As far as I understand they are libraries, but what is the difference between the two?

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.