A spray-dried solid dispersion containing a pharmaceutical compound of formula (I) shown below and a pharmaceutically acceptable polymer,in which the pharmaceutical compound is dispersed in a polymer matrix formed from the pharmaceutically acceptable polymer. Further disclosed are methods for preparing such a solid dispersion and using it for treating hepatitis C virus infection and a pharmaceutical formulation containing same.