add basic shared library