My younger years, my father was an officer in the Army. We moved all over. It was hard to make friends, only to know they'd be leaving us or we'd be leaving them in a span of 1-3 years. But, we did. Even as youth we recognized the value of relationships.
Friendships don't have to end because geography and distance change; particulary in today's world where technology allows for immediate unfettered access to anyone, most anywhere, at any time.
Consider all these people who are your friends....out into the world they've gone...and while you are an anchor to a place they once were, perhaps they can be a destination for you - to visit, explore, enjoy.
I'm happy to say, even though my parents eventually retired and settled into rural America (town pop. 901)....I still stay in contact with the many people I met along the way. They represent seasons/phases in my life and each is special to me in some unique and wonderful way.