Re: Distribution package for OSX

From: Igor Korot <ikorot01(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, PostgreSQL ODBC list <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Distribution package for OSX
Date: 2016-12-02 04:47:37
Message-ID: CA+FnnTx-j1AgoA87gn3ac=di2sCPS78Ja3gvMbrsiaDXraSHeA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi, Tom,

On Thu, Dec 1, 2016 at 10:48 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Igor Korot <ikorot01(at)gmail(dot)com> writes:
>> This is what I get trying to compile latest source:
>
>>> checking for PQsetSingleRowMode in -lpq... no
>>> configure: error: libpq library version >= 9.2 is required
>
> Apple does ship a copy of libpq in /usr/lib, but it's generally a bit
> back-rev, and you're working in a macOS release that's itself several
> years out of date. You'll need to install a newer libpq to satisfy this
> ODBC version, evidently.

Is there a way to see what version of PostgreSQL is installed on
the system?
Because then it would be easy to find out what version of ODBC
driver I should have to connect.
Or maybe I already have the driver, since I have iODBC installed?

Just checked - driver is not there.

Thank you.

>
> There isn't any separate distribution of libpq alone; you need to
> build and install all of Postgres into, say, /usr/local. That's
> not hard, but if you don't enjoy rolling it all yourself, you might
> want to consider installing from MacPorts or Homebrew.
>
> regards, tom lane

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Michael Paquier 2016-12-02 06:15:18 Re: Distribution package for OSX
Previous Message Tom Lane 2016-12-02 03:48:36 Re: Distribution package for OSX