Solvation thermodynamics in a van der Waals liquid