Cavity approach to the random solid state.