Install librsvg2-dev by entering the following commands in the terminal:
sudo apt update sudo apt install librsvg2-dev
SAX-based renderer library for SVG files (development)
The rsvg library is an efficient renderer for Scalable Vector Graphics (SVG) pictures. . This package provides the necessary development libraries and include files to allow you to develop with librsvg.