View Ticket
07:21 Ticket [51f70db766] Can't configure against openssl 1.1.0 status still Open with 5 other changes artifact: 59206e8515 user: anonymous
18:22 New ticket [51f70db766]. artifact: 7f6aa4a771 user: anonymous

Ticket Hash: 51f70db7661b9329e6a9c7825a46fd17cb1d522b
Title: Can't configure against openssl 1.1.0
Status: Open Type: Build Problem
Severity: Important Priority: Immediate
Subsystem: Resolution: Open
Last Modified: 2020-05-29 07:21:24
Version Found In: 1.7.16
User Comments:
anonymous added on 2018-07-30 18:22:28:

When I try to run the configure script with a openssl 1.1.0 directory specified as a dependency location, the config fails:

checking which TLS library to use... openssl
checking if a basic OpenSSL program works... no
configure: error: Unable to compile a basic program using OpenSSL

This contrasts with my OS-installed version of openssl 1.0.2, against which tcltls configures and compiles OK.

I use the following lines to compile with OS-installed openssl 1.0.2:

./configure --disable-stubs --with-tcl=<fulldir>/tcl8.6.8/unix --enable-deterministic

I then install and compile openssl 1.1.0 shared libraries locally without problems. I then try the following configure line for tcltls:

./configure --disable-stubs --with-tcl=<fulldir>/tcl8.6.8/unix --with-openssl-dir=<fulldir>/openssl-1.1.0 --enable-deterministic --includedir=<fulldir>/openssl-1.1.0/include

I get the error quoted at top.

My computer is running a standard updated install of Kubuntu 16.04

anonymous added on 2020-05-29 07:21:24:
It seems to me that this has been fixed in the meantime.  Tcltls builds correctly on OpenSSL 1.1.1g.