LYNN, Mass. (AP) _ A fire raged through a kennel for racing dogs Friday, killing 87 greyhounds, officials said.

''When we arrived some of the dogs were still barking inside,'' said Fire Chief Edward F. Higgins. ''We made attempts to get at them but the volume of fire was just too much to get inside.''

Higgins said the barking stopped within a minute of the firefighters' arrival at the Fortune Kennel in Lynn, a northern suburb of Boston. The dogs raced at the nearby Wonderland Race Track in Revere.

The fire erupted in a one-story wooden building with dog cages lining the walls, Higgins said. Other buildings at the kennel were spared.

A kennel worker, William O'Donnell, broke open the front door before fire officials arrived, Higgins said, ''but the fire flashed and blew him across the street.'' O'Donnell was not injured.

''Those places were firetraps, absolute firetraps,'' Higgins said of the kennel buildings. He said the dogs slept on shredded paper and the building was littered with rags.

''Rubbish was piled everyplace,'' Higgins said. ''I can't imagine anything escaping out of one of those places once it gets going.''

It took 1 1/2 hours to extinguish the fire, Higgins said.

The cause of the fire was under investigation.