"Был" is correct, because "друг" is masculine. You should understand that был != had.

While it does mean, conceptually, that she had a friend, but a literal backtranslation into English is...