generic shared library support script
