Create shared library.