Long distance friendship isn't hard with modern technology, although it's always nice to see each other in person once in a while. I've known my best friend for 20 years, but we've lived at least 300 miles apart for at least 15 of them.
Long distance romantic relationships are much, much more difficult. In my experience, they rarely succeed.