A light earthquake struck near the Nicaraguan capital of Managua on Tuesday evening, shaking buildings, but there were no immediate reports of damage in the Central American country.