Library evacuated during search for gun