Gary L. Bloom, president and vice chairman of Symantec, will leave the company in two months.