Skip to content

Update ubuntu prep: install `libssl-dev`

Matthias Käppler requested to merge mk-ubuntu-prep-openssl into master

Problem

The packages listed under the system prep steps for Ubuntu were not sufficient for gdk install to succceed; it bailed out with an error when compiling native extensions for the rugged gem, which failed with an OpenSSL related error:

-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) 
CMake Error at src/CMakeLists.txt:167 (MESSAGE):
  Unable to autodetect a usable HTTPS backend.Please pass the backend name
  explicitly (-DUSE_HTTPS=backend)

This was on Pop_OS! 19.04, which is basically an Ubuntu 19.04 with some bells and whistles.

Solution

I found a solution in this SO post, which suggests to install libssl-dev. This solved the problem for me.

Merge request reports