Analytical solution of the Ornstein-Zernike equation for mixtures