A security officer was wounded in an attack by four gunmen at the Portugese embassy in Tripoli, news agency Lusa said.
The men fled when other security officers arrived on site overnight Thursday, the Portuguese agency said, adding that the wounded officer's life was not in danger.
A string of attacks targeting diplomats and Libyan politicians have hit Tripoli. Earlier this week, Tunisian and Jordanian diplomats in Libya were kidnapped.
More From This Section
The North African country has been awash with weapons since the end of the uprising that killed Kadhafi and has been gripped by increasing lawlessness.