Soldiers took control of the state media television station in Libreville, the capital of Gabon, to announce a supposed coup attempt on President Ali Bongo Ondimba.