try adding libpq-dev apt-install to get DBD::Pg to install