Re: Getting errors while installing Postgresql 9.1.1 version - Mailing list pgsql-odbc

From Heikki Linnakangas
Subject Re: Getting errors while installing Postgresql 9.1.1 version
Date
Msg-id f6eae99a-bd05-8efb-5322-470349ec9728@iki.fi
Whole thread Raw
In response to Getting errors while installing Postgresql 9.1.1 version  (vamsi Kuchibhatla <vamsi.kuchibhatla2012@gmail.com>)
List 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



pgsql-odbc by date:

Previous
From: vamsi Kuchibhatla
Date:
Subject: Getting errors while installing Postgresql 9.1.1 version
Next
From: "Fred Parkinson"
Date:
Subject: Re: How to use a 32bits odbc driver on a 64bits computer ?