Install libpstoedit-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libpstoedit-dev
PostScript to editable vector graphics library (development files)
pstoedit is a framework for converting Postscript and PDF files to various editable vector graphic formats. . This package contains files to build programs that use libpstoedit.