View Ticket
2024-06-28
22:51 Closed ticket [51f70db766]: Can't configure against openssl 1.1.0 plus 4 other changes artifact: 12b030839a user: bohagan
2020-05-29
07:21 Ticket [51f70db766]: 5 changes artifact: 59206e8515 user: anonymous
2018-07-30
18:22 New ticket [51f70db766]. artifact: 7f6aa4a771 user: anonymous

Ticket Hash: 51f70db7661b9329e6a9c7825a46fd17cb1d522b
Title: Can't configure against openssl 1.1.0
Status: Closed Type: Build Problem
Severity: Important Priority: Immediate
Subsystem: Resolution: Fixed
Last Modified: 2024-06-28 22:51:13
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
make tcltls.so

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.

bohagan added on 2024-06-28 22:51:13:
This has been fixed with the changes to re-implement the TEA build system.
See commit [6c02d4d0291e784b] for the complete set of changes.