View Ticket
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: (text/x-fossil-wiki)
When I try to run the configure script with a openssl 1.1.0 directory specified as a dependency location, the config fails:

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

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:

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

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

<verbatim>
./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
</verbatim>

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: (text/x-fossil-plain)
It seems to me that this has been fixed in the meantime.  Tcltls builds correctly on OpenSSL 1.1.1g.