pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: vamsi Kuchibhatla <vamsi.kuchibhatla2012@gmail.com>
To: pgsql-odbc@postgresql.org
Subject: Re: Getting errors while installing Postgresql 9.1.1 version
Date: Fri, 12 Aug 2016 09:05:20 +0300
Message-ID: <f6eae99a-bd05-8efb-5322-470349ec9728@iki.fi> (raw)
In-Reply-To: <CAJN+B-06TLcBR9kiSm-BFb9tpc2rGMLb3XUTRwJG3D8TLNKaaw@mail.gmail.com>
References: <CAJN+B-06TLcBR9kiSm-BFb9tpc2rGMLb3XUTRwJG3D8TLNKaaw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (2+ messages)

Message-ID: <f6eae99a-bd05-8efb-5322-470349ec9728@iki.fi>
Permalink:  ../f6eae99a-bd05-8efb-5322-470349ec9728@iki.fi/
Also on:    postgresql.org/message-id/f6eae99a-bd05-8efb-5322-470349ec9728@iki.fi

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: hlinnaka@iki.fi, vamsi.kuchibhatla2012@gmail.com
  Subject: Re: Getting errors while installing Postgresql 9.1.1 version
  In-Reply-To: <f6eae99a-bd05-8efb-5322-470349ec9728@iki.fi>
  References: <CAJN+B-06TLcBR9kiSm-BFb9tpc2rGMLb3XUTRwJG3D8TLNKaaw@mail.gmail.com> <f6eae99a-bd05-8efb-5322-470349ec9728@iki.fi>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox