I don't know what your camera looks like, but when you say "holes" I'm assuming the tripod socket is mounted in a wooden base plate and that plate is what got ripped out. If that's the case, make a new larger wood plate and drill new holes in that and attach the old plate to the new one then attach the new larger plate to the camera using different (new) holes. It will be stronger than it was before it broke. Forget the glue. I'm just guessing.