Ivo Karlovic, who will turn 45 next week and has not played a tournament match in 2½ years, made his retirement from tennis official in a social media post Wednesday.