"Policemen found two military men dead inside the Abrak airbase," the official told The Anadolu Agency.
He said that militants attacked the airbase with rockets and broke into the base and engaged in a shootout with army forces.
He, however, said that no casualties had been reported in the attack.
Libya has been dogged by instability since the 2011 ouster and death of longstanding ruler Muammar Gaddafi.
In the three years since, rival militias have often locked horns, frequently bringing violence to Libya's main cities, including capital Tripoli and the eastern city of Benghazi.
The Libyan government, meanwhile, has appeared largely absent from the scene.
The sharp divisions have yielded two rival seats of government in the country, each of which has its own institutions.
Two assemblies currently vie for legislative authority: the House of Representatives, which convenes in the eastern city of Tobruk; and the General National Congress, which – even though its mandate ended in August – continues to convene in capital Tripoli.
The two parliaments support two different governments respectively headquartered in the two cities.