Install libpgtypes3 by entering the following commands in the terminal:
sudo apt update sudo apt install libpgtypes3
shared library libpgtypes for PostgreSQL 10
The libpgtypes shared library is used by programs built with ecpg. (Embedded PostgreSQL for C). . PostgreSQL is an object-relational SQL database management system.