International condemnation mounted on Wednesday after more than 40 migrants were killed in an air strike on a detention centre in Libya that the UN said could constitute a war crime.
The UN Security Council was set to hold urgent talks about the situation in the North African country following what the European Union called a "horrific" attack that the UN-recognised government blamed on strongman Khalifa Haftar.
Bodies were strewn on the floor of a hangar in the Tripoli suburb of Tajoura, mixed with the belongings and blood-soaked clothes of migrants, an AFP photographer said.
"There were bodies, blood and pieces of flesh everywhere," a survivor, 26-year-old Al-Mahdi Hafyan from Morocco, told AFP from his hospital bed where he was being treated for a leg wound.
Tuesday night's strike left a hole around three metres (10 feet) in diameter at the centre of the hangar, surrounded by debris ripped from the metal structure by the force of the blast.
At least 44 people were killed and more than 130 severely injured, the UN said.
"This attack clearly could constitute a war crime, as it killed by surprise innocent people whose dire conditions forced them to be in that shelter," UN envoy to Libya Ghassan Salame said.
He urged the international community to punish those who ordered, carried out and provided arms for the strike -- the second time the facility has been attacked.
"The absurdity of this ongoing war today has led this odious bloody carnage to its most hideous and most tragic consequences," Salame said.
Around 600 migrants and refugees were held in the Tajoura detention centre, the head of the compound Noureddine al-Grifi said, adding that other people were wounded in another hangar.
In a statement, the Tripoli-based internationally recognised Government of National Accord (GNA) denounced the attack as a "heinous crime" and blamed it on the "war criminal Khalifa Haftar".
Turkey, which backs the GNA, called for an international probe into what it called a "crime against humanity".
Qatar's foreign ministry said the attack was a "flagrant violation of international laws that protect human rights, and may amount to war crimes and crimes against humanity".
Haftar, who controls much of eastern and southern Libya, launched an offensive to take the capital in April.
The UAE, Egypt and Saudi Arabia are seen as Haftar's key supporters while he accuses Turkey and Qatar of supplying weapons to his rivals.
The GNA accused pro-Haftar forces of having carried out a "premeditated" and "precise" attack on the migrant centre.
No-one has so far claimed responsibility, but pro-Haftar media reported Tuesday night a "series of air raids" in Tripoli and Tajoura.
The suburb of Tajoura, which has several military sites belonging to pro-GNA armed groups, is regularly targeted in air raids by Haftar's forces.
"Migrants and refugees must NOT be detained; civilians must NOT be a target; Libya is NOT a safe place of return" for migrants and refugees, the head of the UN refugee agency (UNHCR), Filippo Grandi tweeted.
The European Union had also called on the UN to launch an investigation.
"Those responsible should be held to account", EU diplomatic chief Federica Mogherini, enlargement commissioner Johannes Hahn and migration commissioner Dimitris Avramopoulos said in a statement.
UNHCR spokesperson Charlie Yaxley told AFP in Geneva that the agency had asked to have the centre evacuated a few weeks ago after "a near miss from a similar air strike".
The centre was thought to have been used to store weapons, he added, reiterating "that using civilian infrastructure like that constitutes a violation of international humanitarian law".
The UN's mission in Libya has said around 3,500 migrants and refugees held in detention centres near the combat zone are at risk.
Wrecked by chaos since the 2011 uprising against dictator Moamer Kadhafi, Libya has become a major conduit for migrants seeking to reach Europe.
Italian Foreign Minister Enzo Moavero Milanesi said the strike was "another tragedy that demonstrated the atrocious impact of the war on the civilian population".
France called for "an immediate de-escalation" while the Arab League urged a "halt" to the fighting.
Rights groups say migrants face horrifying abuses in Libya, which remains prey to a multitude of militias vying for control of the oil-rich country.
The plight of migrants has worsened since Haftar launched the offensive against Tripoli.
More than 700 people have been killed and 4,000 wounded since the assault began in early April, while nearly 100,000 have been displaced, according to UN agencies.
The two rival camps accuse each other of using foreign mercenaries and enjoying military support, especially air, from foreign powers.
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)