With respect to my post just before yours, it may be worth looking at the prevalence of homosexuality in the population compared of other forms of sterility, both physiological and behavioral.
With respect to physiological sterilty, this reference i indicates that, for couples under 35, only about 2% are unable to conceive after 36 months. While some may conceive eventually, a lower conception rate indicates at least subfertility, if not outright sterility. I think we can take 2% as a ballpark estimate of the prevalence of sterility/subfertility in the general population. Offhand, I am not sure what percentage of failure to conceive is due to the male partner, and how much to the female (or how much to both). However, since failure to conceive can be due to either partner, we can use this rate to make a very rough estimate that 1% of males and 1% of females are physiologically sterile.
Physiological sterility certainly must be maintained in the population despite 100% direct selection against it. Physiological sterility is probably to a great extent due to problems during development, or to health issues. It is, however, possible that some of it is due to recessive alleles that are maintained in the population due to positive selection on some other trait they influence; or because of the effect of other alleles in combination that otherwise have positive effects.
Beyond sterility, there are other physical or mental problems that may prevent people from marrying and having children, even those that are perfectly fertile. These include physical and mental handicaps, mental illness, and other health problems.
What is the rate for other forms of behavioral sterility besides homosexuality? It has already been mentioned in this thread that the rate of asexuality - no interest in sex at all - may be about 1%.
According to data available here and here, back in the 1970s, when there was very strong societal pressure to get married and have chlidren, 5% of males and 6% of females aged 40-44 had never married, and a full 10% of females at that age had never had children. Currently, 17% of males and 12% of females aged 40-44 have never been married, and an extraordinary 19% of females have never had children. (It is of course more difficult to determine the number of males who have never had children than that for females.)
So we see that the rate of homosexuality (2-3%) is in roughly the same ballpark as physiological sterility (1-2%) and asexuality (1%). Marriage and childlessness rates imply that even in the 1970s other forms of sterility, whether physiological or behavioral, were much more signficant than homosexuality. Today other forms of behavioral sterility, for the most part voluntary, are far more important.
The gist of this is that homosexuality is no more difficult to explain in evolutionary terms than other forms of sterility, whether physiological or behavioral.