The problem of the steady flow of a gas condensate mixture in a porous medium near a well is considered. Capillary forces and cross terms are taken into account in the flow law. It is shown that the problem splits into the purely physicochemical problem of capillary condensation and the problem of determining of the pressure field in the phases. The latter problem can have infinitely many solutions; the solution which is of the greatest interest in practice is separated out. An approximate solution in analytical form is found in the case of a small ratio of the gas and condensate viscosities.