add shared library