pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Igor Korot <ikorot01@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL ODBC list <pgsql-odbc@postgresql.org>
Subject: Re: Distribution package for OSX
Date: Thu, 1 Dec 2016 22:29:02 -0800
Message-ID: <4f20f94e-cf41-e28b-b5ba-77a07753cb69@aklaver.com> (raw)
In-Reply-To: <CA+FnnTx-j1AgoA87gn3ac=di2sCPS78Ja3gvMbrsiaDXraSHeA@mail.gmail.com>
References: <CA+FnnTxMGTzHD1Cmy4UxLVjCZnROgU6T+7+KGqLM_Dp9gzVC0A@mail.gmail.com>
	<CAB7nPqQoFxTN9CAWUOOiD3ooBTaF5h5REnwjwpQv=3a--mdfpg@mail.gmail.com>
	<CA+FnnTzE_qj2KYSnK9gt5Fo278bR8dFHeTYKEywc7phaXA2M2w@mail.gmail.com>
	<31418.1480650516@sss.pgh.pa.us>
	<CA+FnnTx-j1AgoA87gn3ac=di2sCPS78Ja3gvMbrsiaDXraSHeA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 12/01/2016 08:47 PM, Igor Korot wrote:
> Hi, Tom,
>
> On Thu, Dec 1, 2016 at 10:48 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Igor Korot <ikorot01@gmail.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?

A question I should have asked earlier, is it a requirement that ODBC be 
used for the connection?

In other words is this a third party app needing ODBC or something you 
wrote that you want to connect via ODBC?

>
> 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
>
>


-- 
Adrian Klaver
adrian.klaver@aklaver.com


-- 
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 (25+ messages)  latest in thread

Message-ID: <4f20f94e-cf41-e28b-b5ba-77a07753cb69@aklaver.com>
Permalink:  ../4f20f94e-cf41-e28b-b5ba-77a07753cb69@aklaver.com/
Also on:    postgresql.org/message-id/4f20f94e-cf41-e28b-b5ba-77a07753cb69@aklaver.com

 · 

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: adrian.klaver@aklaver.com, ikorot01@gmail.com, tgl@sss.pgh.pa.us, michael.paquier@gmail.com
  Subject: Re: Distribution package for OSX
  In-Reply-To: <4f20f94e-cf41-e28b-b5ba-77a07753cb69@aklaver.com>
  References: <CA+FnnTxMGTzHD1Cmy4UxLVjCZnROgU6T+7+KGqLM_Dp9gzVC0A@mail.gmail.com> <CAB7nPqQoFxTN9CAWUOOiD3ooBTaF5h5REnwjwpQv=3a--mdfpg@mail.gmail.com> <CA+FnnTzE_qj2KYSnK9gt5Fo278bR8dFHeTYKEywc7phaXA2M2w@mail.gmail.com> <31418.1480650516@sss.pgh.pa.us> <CA+FnnTx-j1AgoA87gn3ac=di2sCPS78Ja3gvMbrsiaDXraSHeA@mail.gmail.com> <4f20f94e-cf41-e28b-b5ba-77a07753cb69@aklaver.com>

* 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