Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cChLn-0005mb-LO for pgsql-odbc@arkaria.postgresql.org; Fri, 02 Dec 2016 06:29:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cChLn-00067v-59 for pgsql-odbc@arkaria.postgresql.org; Fri, 02 Dec 2016 06:29:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cChLQ-0005HU-AT for pgsql-odbc@postgresql.org; Fri, 02 Dec 2016 06:29:16 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cChLG-0001U5-PB for pgsql-odbc@postgresql.org; Fri, 02 Dec 2016 06:29:15 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 1106020549; Fri, 2 Dec 2016 01:29:04 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Fri, 02 Dec 2016 01:29:04 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=9cFa8fDsZT6tuEh Opjy6KWJhXes=; b=fLoz/7fX1/VB09dY2fNPxCPNJStqkUJ3YSaX7pHuOLk+Ffs eMGFHDbBKs36uXtjg98c/af5pqpNZk2/5tZDTbKGV4qrsN/EqISY3hQXVCxobi4s T11eClTHst8AtSt7qXYndQt28XrVUhfPauJFTGZ8WDPCyWmFqYO6boxUStKU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=9cFa8fDsZT6tuEhOpjy6KWJhXes=; b=rzvtkugf/yq7TVkw+KJn Tk7NekEei4k+cc76iw63F9DOKbLaj6hNuYmVKebNFAuNl8WZ+IYs0mK4e9ZwVHAx N7YptmjI660t7aUz8g9CeVG5YgRc5gQkNm0vIC35ClU67VgqEef+jH9wQrZNDzlf 8MmEpjZKe18/sB5Y68Cdmc8= X-ME-Sender: X-Sasl-enc: Fe9HzAU4GAlpZ72TID1eH6v6rbuO9O7FWIU4cNtwi6tE 1480660143 Received: from [192.168.1.2] (174-21-234-69.tukw.qwest.net [174.21.234.69]) by mail.messagingengine.com (Postfix) with ESMTPA id 59A6A24033; Fri, 2 Dec 2016 01:29:03 -0500 (EST) Subject: Re: Distribution package for OSX To: Igor Korot , Tom Lane References: <31418.1480650516@sss.pgh.pa.us> Cc: Michael Paquier , PostgreSQL ODBC list From: Adrian Klaver Message-ID: <4f20f94e-cf41-e28b-b5ba-77a07753cb69@aklaver.com> Date: Thu, 1 Dec 2016 22:29:02 -0800 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 12/01/2016 08:47 PM, Igor Korot wrote: > Hi, Tom, > > On Thu, Dec 1, 2016 at 10:48 PM, Tom Lane wrote: >> Igor Korot 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