A magnitude-5.8 earthquake struck near the city of Coquimbo in Chile at a depth of 56 km on Thursday, the European-Mediterranean Seismological Centre (EMSC) said.