Re: Getting errors while installing Postgresql 9.1.1 version

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Getting errors while installing Postgresql 9.1.1 version
Дата
Msg-id f6eae99a-bd05-8efb-5322-470349ec9728@iki.fi
обсуждение исходный текст
Ответ на Getting errors while installing Postgresql 9.1.1 version  (vamsi Kuchibhatla <vamsi.kuchibhatla2012@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: vamsi Kuchibhatla
Дата:
Сообщение: Getting errors while installing Postgresql 9.1.1 version
Следующее
От: "Fred Parkinson"
Дата:
Сообщение: Re: How to use a 32bits odbc driver on a 64bits computer ?