Most packages install shared libraries. Check for the mhash libraries: if they end with .so, .so.0 or similar, then it's a shared library. If it ends with .a, then it's a static library.
If you don't have the static library, build it from source. ./configure usually takes an option for building static libraries (see ./configure --help).
Apparently you want to build AIDE from source, otherwise static libraries do not make sense.