From the sound of it you may need to install openssl and openssl-dev. Since you say you are using Ubuntu, you should be able to achieve this with
sudo apt-get install openssl openssl-dev
Note that openssl-dev and libcurl4-openssl-dev are not the same thing. the former is the development support part (e.g., the header files) of the library that provides SSL support. The latter iis the pat of the libcurl4 that provides developmental support for SSL in libcurl4. (Libcurl is the library behing the curl program). I confess, though, that I'm surprised that libcurl4-openssl-dev doesn't automatically pull in openssl-dev.
I've not got an Ubuntu machine on which to try this out so bear that in mind when trying this.
Edited 1 time(s). Last edit at 07/13/2018 09:26AM by Colm Connolly.