erasing share lib