Re: Build ODBC Drivers for Solaris with TLS support

From: "Jensen, David E" <djensen8(at)dxc(dot)com>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Build ODBC Drivers for Solaris with TLS support
Date: 2020-10-23 14:01:03
Message-ID: BL0PR01MB4530BA5CECF8BD17DA197F4A8F1A0@BL0PR01MB4530.prod.exchangelabs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

It does 🙂. It would appear that they aren't built with SSL - so I guess my only option would be to build from source myself then?

ldd libpq.so
libgss.so.1 => /usr/lib/64/libgss.so.1
libnsl.so.1 => /lib/64/libnsl.so.1
libsocket.so.1 => /lib/64/libsocket.so.1
libpthread.so.1 => /lib/64/libpthread.so.1
libc.so.1 => /lib/64/libc.so.1
libcmd.so.1 => /lib/64/libcmd.so.1
libmp.so.2 => /lib/64/libmp.so.2
libmd.so.1 => /lib/64/libmd.so.1
libscf.so.1 => /lib/64/libscf.so.1
libdoor.so.1 => /lib/64/libdoor.so.1
libuutil.so.1 => /lib/64/libuutil.so.1
libgen.so.1 => /lib/64/libgen.so.1
libm.so.2 => /lib/64/libm.so.2
/lib/sparcv9/../libm/sparcv9/libm_hwcap1.so.2
/platform/SUNW,SPARC-Enterprise/lib/sparcv9/libc_psr.so.1
$

David Jensen
Senior Professional: Programmer Analyst, Global Outsourcing Services

T +1 610.624.3401
djensen8(at)dxc(dot)com

DXC Technology
Virtual Office
Pen Argyl, PA 18072

dxc.technology<http://www.dxc.technology/> / Twitter<https://twitter.com/dxctechnology> / Facebook<https://www.facebook.com/DXCTechnology/> / LinkedIn<https://www.linkedin.com/company/dxctechnology>

________________________________
From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Sent: Friday, October 23, 2020 9:22 AM
To: Jensen, David E <djensen8(at)dxc(dot)com>; pgsql-odbc(at)postgresql(dot)org <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Build ODBC Drivers for Solaris with TLS support

On 23/10/2020 15:19, Jensen, David E wrote:
> 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.bz2
>
> 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?

I don't know, unfortunately. Does Solaris have 'ldd' or similar, to
check what libraries libpq.so depends on? On my Linux system:

$ ldd <path to pgsql installation>/lib/libpq.so
linux-vdso.so.1 (0x00007ffef63f6000)
libssl.so.1.1 => /usr/lib/x86_64-linux-gnu/libssl.so.1.1
(0x00007facf52d9000)
libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
(0x00007facf4ff0000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007facf4fcf000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007facf4e0e000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007facf4e09000)
/lib64/ld-linux-x86-64.so.2 (0x00007facf53e7000)

The libssl and libcrypto dependencies come from building with OpenSSL.

- Heikki

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Heikki Linnakangas 2020-10-23 14:08:09 Re: Build ODBC Drivers for Solaris with TLS support
Previous Message Heikki Linnakangas 2020-10-23 13:22:09 Re: Build ODBC Drivers for Solaris with TLS support