A car bomb on Friday targeted the Swedish consulate in Benghazi, in eastern Libya, according to Libyan media reports.
The explosion caused damage to the consulate building and neighbouring buildings, but there were no casualties, the independent Press Solidarity Agency reported.
But Qatari broadcaster Al Jazeera reported that two people — a Swede and a Libyan — were injured.
The attack comes a day after Libyan Prime Minister Ali Zeidan was briefly captured by armed gunmen believed to be former rebel militiamen.
In September 2012, the U.S. ambassador to Libya and three other Americans were killed in an attack on the U.S. consulate in Benghazi.
Libya’s new leaders have been struggling to assert their authority and re-establish security in the North African country since dictator Muammar Qadhafi was overthrown and killed in October 2011.