A gold mining company in South Africa says 42 of its miners are trapped following an earthquake measuring around 5.0 on the Richter scale.

DRDGold says the company has sent a rescue team to the mine located near the northern city of Klerksdorp, at the epicenter of the quake.

It says at least 13 other miners suffered injuries in Wednesday's quake.

The company says it is evacuating all of the 3,200 miners who were on duty.

Police say another 38 people in the town of Klerksdorp suffered minor injuries. Several buildings in the area were damaged.

Officials say they do not know whether the earthquake was related to mining or due to natural causes. Naturally occurring earthquakes are rare in South Africa.

Some information for this report provided by AFP.