The only functioning airport in Libya’s capital Tripoli closed on Wednesday after rockets were fired toward it, the airport said in a statement.