Install libghc-postgresql-simple-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-postgresql-simple-dev
Description:
mid-level PostgreSQL client library
Mid-level client library for the PostgreSQL database, aimed at ease of use and high performance. . This package contains the normal library files.
Homepage: http://hackage.haskell.org/package/postgresql-simple
Version: 0.5.3.0-1build5
Section: universe/haskell