The Libyan navy's chief of staff, his driver and two guards were wounded on Wednesday when gunmen attacked his convoy in Tripoli, the navy spokesman said.