At uni had lots of friends but I never really felt close to any nor felt i could share the many things i was feeling. It used to really annoy me as i felt this was something everyone else had, and i am a nice person, not undeserving. I wised up to a few things over time:
Firstly i think this desperation to have amazing friendships stemmed from sitcoms such as Friends! They are an impossible bunch to mimic and i learned not to aspire to such an idealised group that all look great, hook up occasionally, and unconditionally like each other and get over any issues.
Secondly looking for everything in one person is almost impossible. So i relate and converse to each persons best quality, i have different friends i go to when i want a laugh, some sympathy, some advice or some intellectual stimulus.
Thirdly so much of my initial yearning for a good friend was to have sympathetic good ear. But sympathy is never really a basis for a friendship, its an incredibly draining thing to provide sympathy to someone. Looking for sympathy is a card you can play every once in a while but you really have to earn it over time. I think most of us wish new great people will just enter our lives to bring us back up to happiness straight away but no true friendships can forge unless you make the other person feel good somehow. I practised a brave face and smile for 6 months before bringing any of my problem feelings into the mix and people were way more willing to lend me their time after that.
Finally meet people in very different places, it was a safe thing to do to cling on to uni friends, but it was a greater thing in the end to have friends in very different places. Join a karate class, piano, painting etc and you will dramatically increase your reach. Its like aiming for 50 friends, making maybe 10 acquaintances and then making 2 good friends.