Install libpgtcl-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libpgtcl-dev
Tcl client library binding for PostgreSQL - development files
This library provides Tcl bindings to the PostgreSQL client library (libpq), which is used to communicate with the PostgreSQL database server. This package contains the static library and header files. . PostgreSQL is an object-relational SQL database management system. Tcl is a widely used and easily extended interpreted language.