A car bomb at a military academy has left at least eight soldiers dead in the eastern Libyan city of Benghazi, medical sources say. The attack targeted soldiers leaving a graduation ceremony.