Southern California police say the gunman who killed four people and wounded a fifth at an office complex knew all the victims either through business or personally.