More than 4,000 hogs died late Wednesday when fire destroyed a building at a farm in the Eagle Springs community of Moore County, farm management officials told WRAL.