Thread: Getting errors while installing Postgresql 9.1.1 version
Hi,
We are trying to install Postgresql 9.1.1 Drivers on Linux machine for Greenplum DB connectivity.
We have downloaded the tar file and extracted files and when trying to execute the ./configure command we got below error
configure: error: libpq library not found
So we have tried other way by passing parameter --with-libpq=/usr/pgsql-9.1 getting a different error (below is the error).
error: specified pg_config not found
Could you please suggest us towards a successful PostGresql 9.1.1 ODBC Driver installation.
Please let me know if you need further details on the same.
Thanks
Vamsi Kuchibhatla
Ph+91-9949127563
Hi! On 08/12/2016 04:33 AM, vamsi Kuchibhatla wrote: > We are trying to install Postgresql 9.1.1 Drivers on Linux machine for > Greenplum DB connectivity. I highly recommend using the latest driver, as we don't release minor version updates for older ones. The latest driver also works with older servers. The latest version of the driver requires libpq from PostgreSQL 9.2 or newer. > We have downloaded the tar file and extracted files and when trying to > execute the *./configure *command we got below error > > *configure: error: libpq library not found* > > So we have tried other way by passing parameter --with-libpq=/usr/pgsql-9.1 > getting a different error (below is the error). > > *error: specified pg_config not found* I'm not sure why that didn't work for you. You can point --with-libpq to either the base directory that contains the "lib" and "include" subdirs, or to the pg_config binary, in which case configure will call pg_config to get the those paths. Pointing it to pg_config is usually more robust, so I'd suggest trying: /configure --with-libpq=/usr/pgsql-9.2/bin/pg_config - Heikki