Currently the docs only show shared library, how can I use ccall to import symbols from an archive .a?
Static libraries can only be used in compilation process to build binaries. They are not directly available for dynamic loading. You may turn a static library into shared library by linking its object files to a shared object file(.so,.dll etc) and then you can load them dynamically but the conversion may not work due to the position independent code requirements.