An explosion hit a major oil pipeline south of the Libyan terminal of Ras Lanuf overnight between Wednesday and Thursday, a spokesman for Libya's National Oil Corp (NOC) said.

Mohamed al-Harari said it was not clear what had caused the explosion at the pipeline, which has been closed for more than two years.

An oil official based in eastern Libya, Mohamed al-Manfi, said the blast was a result of sabotage and said oil workers were trying to isolate the pipeline and contain the damage.