The UN Security Council has condemned the Libyan authorities for using force against protesters, calling for those responsible to be held to account.
In a statement, the council demanded an immediate end to the violence and said Libya's rulers had to "address the legitimate demands of the population".
Nearly 300 people have been killed so far, according to Human Rights Watch.
Earlier, Col Muammar Gaddafi urged his supporters to attack the "cockroaches" and "rats" protesting against his rule.
Anyone who took up arms against Libya would be executed, he warned.
Interior Minister Abdel Fattah Younes al-Abidi later resigned and called on the armed forces to "join and heed the people's demands".The UN Security Council's statement came after a day of debate on the uprising in Libya, which has seen the state lose control of much of the east of the country, foreign mercenaries allegedly attacking civilians on the streets and warplanes reportedly shooting and bombing protesters.
The council's 15 members said the Libyan authorities should "meet its responsibility to protect its population", act with restraint, and respect human rights and international humanitarian law.
The Libyan authorities should also hold accountable those people responsible for attacking civilians, and respect the rights of its citizens to peaceful assembly, freedom of expression and press freedom, they added.
British Ambassador Mark Lyall Grant said the statement was "extremely strong" and indicated further measures were likely in the coming days.
Libya's deputy permanent representative to the UN in New York, Ibrahim Dabbashi, who on Monday called on Col Gaddafi to step down, said the council's statement was "not strong enough" but still "a good message to the regime in Libya about stopping the bloodshed".
But his superior, Abdul Rahman Mohammed Shalqam, dissociated himself from the remarks, calling Libya's ruler "my friend".
The Arab League also condemned the "crimes" against protesters in Libya and said it would bar the country from League meetings.
'Genocide has started'
But Col Gaddafi was defiant in a rambling 75-minute speech broadcast on state television, saying he vowing to crush the revolt by "rats and mercenaries".
Standing outside the Bab al-Aziza barracks in Tripoli, which was damaged by a US air strike in 1986, he vowed: "I am not going to leave this land. I will die here as a martyr. I shall remain here defiant."
Click to play
Click to play
Advertisement
Colonel Gaddafi: ''I will die a martyr at the end''
He also called on his supporters to "cleanse Libya house by house" unless the protesters surrendered.
"All of you who love Muammar Gaddafi, go out on the streets, secure the streets, don't be afraid of them... Chase them, arrest them, hand them over," he said.
He portrayed the protesters as misguided youths who had been given drugs and money by a "small, sick group", and blamed "bearded men" - a reference to Islamist - and Libyans living abroad for fomenting the violence.