#include <libpq-fe.h> ^~~~~~~~~~~~ compilation terminated. code example Example: fatal error: libpq-fe.h: No such file or directory sudo apt-get install libpq-dev