Skip to content

[qa#261] link with OpenSSL 11 on CentOS 7

Andrei Pavel requested to merge openssl into master

Part of https://gitlab.isc.org/isc-private/qa-dhcp/-/issues/261

openssl11-devel doesn't work with the default 1.53 boost. It will say:

22:39:56  configure: WARNING: boost/asio/ssl.hpp: present but cannot be compiled
22:39:56  configure: WARNING: boost/asio/ssl.hpp:     check for missing prerequisite headers?
22:39:56  configure: WARNING: boost/asio/ssl.hpp: see the Autoconf documentation
22:39:56  configure: WARNING: boost/asio/ssl.hpp:     section "Present But Cannot Be Compiled"
22:39:56  configure: WARNING: boost/asio/ssl.hpp: proceeding with the compiler's result
22:39:56  configure: WARNING:     ## ------------------------------------ ##
22:39:56  configure: WARNING:     ## Report this to kea-dev@lists.isc.org ##
22:39:56  configure: WARNING:     ## ------------------------------------ ##
22:39:56  checking for boost/asio/ssl.hpp... no
22:39:56  configure: error: Missing required boost ssl header file

So install boost 1.69: yum install boost169-devel. And then pass --with-boost-include=/usr/include/boost169 --with-boost-lib-dir=/usr/lib64/boost169 to the configure flags.

Please don't suggest I pass a value to --with-openssl. I considered that. There is no value that I could pass to make it link with OpenSSL 1.1 because it's installed in a different file structure.

Edited by Andrei Pavel

Merge request reports