Where does it say anything about homosexuality?
You, along with countless other Christians, are quick to assume that any mention of the word "sodomy" refers to homosexuals.
The word, as written in the Bible, refers to deviant/forced sexual behavior - among all people - not just homosexuals. To be even more specific, the origin of the word came from the town of Sodom - where certain sodomites were raping/abusing other people of that town - both male and female.
This specific message from the Pope was a stern warning to clergy people that may have been taking advantage or abusing others - both males and females.
Christians that "justify" their hatred of homosexual people, attributing it to their religion and/or the Bible, have been severely misguided. When God instructed the way to live according to His virtues, he was speaking about all people.
When you see the word "sodomy" and the first thing you think of is homosexuality, you are not following Jesus' teachings - if anything, you are committing a sin yourself by judging others in your mind.
Matthew 5:27
27 “You have heard that it was said, ‘You shall not commit adultery. But I tell you that anyone who looks at a woman lustfully has already committed adultery with her in his heart."
Matthew 7:1-5
7 “Do not judge, or you too will be judged. For in the same way you judge others, you will be judged, and with the measure you use, it will be measured to you.
“Why do you look at the speck of sawdust in your brother’s eye and pay no attention to the plank in your own eye? How can you say to your brother, ‘Let me take the speck out of your eye,’ when all the time there is a plank in your own eye? You hypocrite, first take the plank out of your own eye, and then you will see clearly to remove the speck from your brother’s eye.
What does this mean? When you judge homosexuals, assuming they are guilty of a worse sin than any sin you may have committed in your lifetime, without any knowledge of what is in their hearts/minds - then you too will be judged according to the way you judge homosexuals. Would you want to be judged by that standard? I would hope not - if so, most would likely have little chance of salvation.