Creates a shared library.