Militärer säger sig ha tagit makten i Gabon och skott hörs i huvudstaden Libreville, rapporterar AFP.