if you mean say goodbye as in end the friendship...ooh that's a tough one im in the same situation. but i would say just try to sort things out first otherwise tell them its not working and...
See you soon, Take care, Till we meet again... You usually add something nice like thank you for being my friend and good wishes. A slightly more formal ending (for example, suitable for co-workers)...