I am trying to compile a 3rd party library( on linux) and see that it is generating libsomething.a files I have my other libraries which are .so file
But it appears that even .a is shared library and can be used just like a .so lib
So is there any difference between the two ? or they are just same with different naming convention.
A .a
file is a static library, while a .so
file is a shared object dynamic library similar to a DLL
on Windows.
A .a
can be included as part of a program during the compilation. A .so
can be imported, while a program loads.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With