A formal solution of the Ornstein-Zernike equation for a multicomponent fluid consisting of hard-spherical molecules is studied with the closure of the usual hard-sphere condition and the following: cij(r) = Sigma(n=i) (K-ij((n))/r + L-ij((n)) z(n)) e(-Znr) sigma(ij) < r where c(ij)(r) is the direct correlation function and sigma(ij) is the closest distance between i and j species of molecules. The solution is expressed in terms of the physical solutions of a system of nonlinear algebraic equations. The result is a generalization of that of Blum (1980 J. Stat. Phys. 22 661).