Given a first order elliptic partial differential equation we construct a solution which solves a given Riemann–Hilbert boundary value problem whose coefficients have singularities of the first kind at a finite number of some prescribed isolated points and are Holder–continuous outside those points while the free term has a finite number of integrable power singularities at some prescribed points. It is shown that the solution belongs to some weighted Sobolev space $W_{1, p}(D; \rho)$, where the weight function $\rho = \rho(z; \partial D)$ is the distance of the variable point $z$ from the boundary $\partial D$ raised to a certain power. The problem is solved by first reducing it to an analogous problem for holomorphic functions. The latter is then solved.