The Libyan government said Tuesday it was considering the possibility of calling for international forces to help re-establish security, after a flare-up of violence in the capital Tripoli.
"The government is looking into the possibility of making an appeal for international forces on the ground to re-establish security and help the government impose its authority," a spokesman said in a statement.
The United Nations announced Monday that it was evacuating its remaining staff from Libya, after deadly clashes closed Tripoli airport and severed air links with the outside world.
The international airport, meanwhile, came under renewed attack with dozens of rockets, one of which hit a plane on the tarmac, security sources said, without any immediate reports of casualties.
"Dozens of rockets were fired at the airport," Al-Jilani al-Dahech, a security official at the scene, told AFP, while another source said one aircraft took a direct hit.
An airport source said the plane belonged to private Libyan carrier Buraq Airlines.
The fighting between liberal and Islamist militias follows a June general election which intensified a power struggle between rival armed groups that has wracked the North African oil producer ever since the 2011 overthrow of dictator Moamer Kadhafi.
"UNSMIL (United Nations Support Mission in Libya) temporarily withdrawing staff from Libya because of security situation," the mission, which already pulled out dozens of personnel last week, said in a statement.
"After the latest fighting on Sunday and because of the closure of Tripoli international airport, the mission concluded that it would not be possible to continue its work ... while at the same time ensuring the security and safety of its staff," it said.
"This is a temporary measure. Staff will return as soon as security conditions permit. The United Nations, which stood by the Libyan people in their revolution in 2011, will not abandon them as they seek to build a democratic state."
Witnesses said a UN convoy left Tripoli on Sunday by road headed for the Tunisian border, 170 kilometres (110 miles) to the west.
Tripoli international airport was shut down for at least three days after the Zintan militia which controls it came under attack by Islamist fighters on Sunday.
At least six people were killed in heavy exchanges of fire, a health ministry official said, and several Airbus planes were damaged on the tarmac.
- 'Practically cut off' -
On Monday, Libya also suspended all flights to and from third city Misrata, west of the capital, which is dependent on Tripoli airport for its operations.
"Libya is now practically cut off from the outside world," a source at Tripoli airport said.
At least 10 aircraft of Libya's main carriers Afriqiyah Airways and Libyan Airlines were damaged in the fighting, a security official said.
"Most them will need maintenance before they can fly again," said Al-Jilani al-Dahesh.
An AFP photographer sighted several passenger aircraft on the tarmac riddled with bullets.
Sunday's Tripoli airport attack was claimed by Islamist militias determined to oust the Zintan group from key sites it controls in south of the capital, including the airport.
The attack was beaten off, but there were also clashes at other Zintan-controlled sites for several hours, especially on the road to the airport.
Libya has been awash with weapons since the NATO-backed uprising three years ago that toppled and killed Kadhafi.
Successive interim governments in Tripoli have struggled to establish a strong army and police force, giving former rebel groups a free hand to act.
The well-armed and disciplined Zintan militia has sided with well-armed forces loyal to renegade former general Khalifa Haftar who launched an offensive against Islamist militias in second city Benghazi in mid-May.
- Calls for dialogue -
Libya's neighbours -- Algeria, Chad, Egypt, Niger, Sudan and Tunisia -- issued a call for dialogue on Monday.
They agreed at talks near Tunis to set up twin commissions to broker talks and attempt to prevent any spillover of violence.
Delegates underlined the need to "resolve (the problem of) pockets of terrorism in Libya, which are a source of concern for Libya and the countries in the immediate vicinity."
Eastern Libya, particularly its main city Benghazi and the hill town of Derna, have become strongholds of jihadist groups.
Renewed clashes between troops and Islamist militia in Benghazi on Monday killed three people and wounded 30, medics said.
The European Union called for the new parliament elected in last month's controversial poll to convene as quickly as possible and form a new government to head off worsening violence.
"The EU trusts that the new parliament will be in a position to embody national consensus and play its role in forming a government with wide political support," it said.