You can fill the gap with weatherstripping. All you need is a nail gun and finishing nails to fill the gap between the sliding barn door and the wall. You could also use a transparent shower door seal to fill the gap.