On the solvability of singular boundary value problems on the real line in the critical growth case