On the Thermodynamical Equilibrium of Fluids in Gravitational Fields