pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jensen, David E <djensen8@dxc.com>
To: Heikki Linnakangas <hlinnaka@iki.fi>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: RE: Build ODBC Drivers for Solaris with TLS support
Date: Fri, 23 Oct 2020 12:19:53 +0000
Message-ID: <BL0PR01MB4530BA105461E3B9FCE495F68F1A0@BL0PR01MB4530.prod.exchangelabs.com> (raw)
In-Reply-To: <df2b6720-9d83-2aa5-599f-c2fc091ff0cc@iki.fi>
References: <BL0PR01MB45306D4C9EEB51C4899006728F1D0@BL0PR01MB4530.prod.exchangelabs.com>
	<df2b6720-9d83-2aa5-599f-c2fc091ff0cc@iki.fi>

Heikki,

Thank you for the quick response.  To build the ODBC drivers, I used the package from the PostgreSQL site for solaris10-sparc64 - https://ftp.postgresql.org/pub/binary/v11.9/solaris/solaris10/sparc/postgresql-11.9-S10.sparc-64.tar...

After I send this message to the list I started wondering about the PG install itself, so I guess I was on the right track.  Are those packages not built with SSL support?

Regards,
David


David Jensen
Senior Professional: Programmer Analyst, Global Outsourcing Services

T +1 610.624.3401
djensen8@dxc.com

DXC Technology
Virtual Office
Pen Argyl, PA 18072

dxc.technology / Twitter / Facebook / LinkedIn

-----Original Message-----
From: Heikki Linnakangas <hlinnaka@iki.fi>
Sent: Friday, October 23, 2020 6:13 AM
To: Jensen, David E <djensen8@dxc.com>; pgsql-odbc@postgresql.org
Subject: Re: Build ODBC Drivers for Solaris with TLS support

On 23/10/2020 02:16, Jensen, David E wrote:
> Hello,
>
> I'm supporting a project that is migrating a database from on-prem
> Oracle to Azure PostgreSQL.  There are DB links from one oracle DB to
> the one that is migrating.  The on-prem Oracle DB is on Solaris, so we
> have built unixODBC, and pulled the source for the ODBC PostgreSQL
> drivers and built them too.
>
> Using isql to try and connect we received an error about setting SSL
> options because the Azure system is set to require SSL on the
> connections.  If I add sslmode = require in the odbc.ini, we get and
> error about using ssl options are invalid when SSL support is not
> compiled in.  I see mention the ODBC driver supports SSL, but cannot
> see how to run configure to have it compiled it.
>
> Is there any direction you can provide on this?  It would be much
> appreciated.

Hi! The psqlODBC driver uses PostgreSQL's libpq library for connecting to the server. It sounds like you're using a version of libpq that's not built with OpenSSL. Are you using a pre-built package for libpq or building it from sources?

If you're building libpq from PostgreSQL sources, you need to pass the "configure --with-openssl" flag to PostgreSQL's configure.

- Heikki








view thread (7+ messages)  latest in thread

Message-ID: <BL0PR01MB4530BA105461E3B9FCE495F68F1A0@BL0PR01MB4530.prod.exchangelabs.com>
Permalink:  ../BL0PR01MB4530BA105461E3B9FCE495F68F1A0@BL0PR01MB4530.prod.exchangelabs.com/
Also on:    postgresql.org/message-id/BL0PR01MB4530BA105461E3B9FCE495F68F1A0@BL0PR01MB4530.prod.exchangelabs.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: djensen8@dxc.com, hlinnaka@iki.fi
  Subject: Re: Build ODBC Drivers for Solaris with TLS support
  In-Reply-To: <BL0PR01MB4530BA105461E3B9FCE495F68F1A0@BL0PR01MB4530.prod.exchangelabs.com>
  References: <BL0PR01MB45306D4C9EEB51C4899006728F1D0@BL0PR01MB4530.prod.exchangelabs.com> <df2b6720-9d83-2aa5-599f-c2fc091ff0cc@iki.fi> <BL0PR01MB4530BA105461E3B9FCE495F68F1A0@BL0PR01MB4530.prod.exchangelabs.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