Do not only be close with someone who makes you happy. Be close with someone who cannot be happy without you. It makes a lot difference to him at least.
In the end, only three things matter the most: How fully you lived, how deeply you loved and how well you learned to let go of things not meant for you!