Updated

Rescuers struggled to bring up the remaining 500 South African gold miners trapped for more than a day deep in a shaft after an accident damaged an elevator.

There were joyful reunions on the surface Thursday and — although none of the 3,200 trapped in all was injured or killed — also anger, fear and renewed concern about safety standards in a country that is the world's largest gold producer.

A pressurized air pipe snapped at the mine near Johannesburg and tumbled down a shaft Wednesday, extensively damaging an elevator. Some of those stranding more than a mile (a kilometer and a half) underground had gone down Tuesday for the night shift.

Click here to view photos.

The trapped workers were being brought to the surface in a second, smaller cage in another shaft that can hold about 75 miners at a time, about half the normal passenger capacity. Most of the miners who emerged into the blinding sunlight looked dazed and exhausted. The mineworkers union said 500 people were still trapped at evening.

"We nearly died down there," one man yelled as he walked past reporters. "I'd rather leave (the job) than die in the mine."

One large group emerged from the shaft singing traditional songs and stamping their feet with joy despite their exhaustion. They were greeted by a crowd of ululating female miners.

Relatives of those still trapped stood outside the mine's offices, complaining that they had not been given enough information about their loved ones.

"I am very traumatized, exhausted, not knowing what is going on," said Sam Ramohanoe, whose wife, Flora, 31, was among the trapped. "It is very unfair to us, not knowing what is going on with our beloved ones."

The workers who remained underground were all near a ventilation shaft and had been given water and food.

The mine owner, Harmony Gold Mining Co., and South Africa's minerals and energy minister vowed to improve safety in one of the country's most important industries after the accident prompted allegations the industry cut safety corners and didn't properly maintain the mine.

The union threatened unspecified "industrial action" if its safety demands were not met. In a message to mining bosses, it said it would "hit their pockets big time in the near future."

Amelia Soares, spokeswoman for Harmony, said the mine had won a number of safety awards and had never seen any fatal accidents. She said the company was likely to suffer considerable losses in output during the closure caused by the accident.

Minerals and Energy Minister Buyelwa Sonjica said Thursday that Elandsrand, a top-producing gold mine in South Africa, would be closed for at least six weeks following the accident.

Harmony chairman Patrice Motsepe said, according to the South African Press Association: "We have to recommit ourselves to refocus on safety in this country; our safety record both as a company and an industry leave much to be desired."

Harmony's per-share price on the Johannesburg Stock Exchange dropped 2.86 percent at close Thursday, to 74.06 rand (euro7.58; $10.69). JPMorgan analyst Allan Cooke said the accident would hurt Harmony's earnings, especially if the shaft remains closed for the entire quarter.

Harmony's Elandsrand mine is the third largest producing gold mine in South Africa. The company said it produces an average of about 1,300 pounds of gold every month.

Motsepe is one of South Africa's top business leaders, among a growing number of black entrepreneurs to have gained prominence since apartheid ended in 1994. Workers groups argue, though, that the opportunities created since the end of white rule are benefiting a small black elite, leaving the majority of blacks — most of the workers toiling in the mines are black — struggling.

The government's push for greater roles for blacks in the economy has included requiring companies here to have significant black ownership and management to qualify for new mining rights.

Government officials also criticized Harmony for not immediately informing them about the crisis. Minerals and Energy Minister Sonjica said she learned about the early morning accident from the late evening news. She said President Thabo Mbeki also found out from the news bulletin.

"You cannot hide 3,000 people who are trapped under ground," Sonjica told The Associated Press. "I find it very queer, strange that they did that. As to whether they were covering up it is difficult to tell at this point."

Sonjica also said during a visit to the Elandsrand mine at Carletonville — a town in South Africa's mining heartland near Johannesburg — that health and safety legislation would be "tightened up."

Last year, 199 mineworkers died in accidents, mostly rock falls, the government reported in September. One worker was killed last week in a mine adjacent to Elandsrand.

Thabo Gazi, chairman of the Mine Health and Safety Council, a group of government, labor and employer representatives that advises the government and that will investigate the Elandsrand accident, said he had raised concerns with the government that in the effort to ensure maximum profits for minimum costs, safety standards were being compromised.

But Terence Creamer, editor of Engineering News and contributing editor for Mining Weekly, a leading engineering and mining publication, said the mining activity spurred by high prices did not mean safety would be compromised. He said because of the costs associated with accidents and production stoppages, owners of mines that did not have very high yields could not take the risk of bad safety records.