The United Nations' mission in Libya deplored Monday's attack by gunmen on the National Oil Corporation (NOC) in Tripoli in which at least four people were killed, calling it "a blow against Libyans everywhere".
"UNSMIL strongly condemns the cowardly terrorist attack on the National Oil Company today. It expresses its deepest condolences to the families of the victims and wishes a speedy recovery to the injured," said a statement.
"The assault on the institution that is Libya's primary source of national wealth is a blow against Libyans everywhere," the statement underlined.
Libyans should "desist from futile side conflicts", unite and work with the international community "to eradicate the scourge of terrorism across the country," the statement said.
At least two NOC staff members and two of the gunmen were killed in Monday's attack, according to a spokesman for the Special Deterrence Force.
It was not immediately clear who carried out the attack.
The assault came less than a week after the UN's special envoy to Libya, Ghassan Salame brokered fragile truce that halted deadly clashes between rival militias in Tripoli. Libya has been in chaos since a 2011 uprising that led to late dictator Muammar Gaddafi's ouster.
The Islamic State jihadist group claimed an assault on Libya's national election commission offices in the capital in May that killed at least 12 people.