Libya’s state oil firm (NOC) said armed men had opened fire on Friday at the headquarters of a wells drilling and maintenance unit in the capital.