If it's something you desire, you have to put yourself out there. It doesn't mean be desperate, but you have to put yourself in a position to meet people. Also, you have to be open to it, and be willing to risk rejection.
As someone who struggled with longtime singleness, it was a hard realization that the reason I was single for so long was because of indecisiveness. Do you know what you want? If you come off as unsure of what you want, others will pick up on it. At this age, people have wisened up, and are pretty good at picking up these signals.