A powerful earthquake on June 8 prompted evacuations in Havana as people rushed out of buildings.