From: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
---|---|
To: | vamsi Kuchibhatla <vamsi(dot)kuchibhatla2012(at)gmail(dot)com>, pgsql-odbc(at)postgresql(dot)org |
Subject: | Re: Getting errors while installing Postgresql 9.1.1 version |
Date: | 2016-08-12 06:05:20 |
Message-ID: | f6eae99a-bd05-8efb-5322-470349ec9728@iki.fi |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Fred Parkinson | 2016-08-15 14:38:40 | Re: How to use a 32bits odbc driver on a 64bits computer ? |
Previous Message | vamsi Kuchibhatla | 2016-08-12 01:33:11 | Getting errors while installing Postgresql 9.1.1 version |