In The Feynman Lectures on Physics, Vol. II, page 515, the author derived the equation describing a fluid in a hydrostatic situation:
$$-\nabla p -\rho \nabla \phi =0,$$
where $p$ is the pressure, $\phi$ is a potential from which the force counterbalancing the pressure force derive (for example, the gravitational potential) , and $\rho$ is the density of the fluid.
He then said, about this equation,
In general, it has no solution. If the density varies in space in an arbitrary way, there is no way for the forces to be in balance, and the fluid cannot be in static equilibrium. Convection currents will start up. We can see this from the equation since the pressure term is a pure gradient, whereas for variable $\rho$ the other term is not. Only when $\rho$ is a constant is the potential term a pure gradient.
Why can't there be a $\phi$ such that $-\rho \nabla \phi$ counterbalances $-\nabla p$ at each point in the fluid?
Why $\rho \nabla \phi$ cannot be a pure gradient? I don't really understand what he means by pure when referring to these gradients.