Compile the openssl and development libraries with the make command. Install the compiled openssl binaries and development libraries with the “make install” command. Navigate to the OpenSSL installation directory and execute openssl command in order to check its version.
By default, the OpenSSL directory is /usr/local/ssl . If you perform a config without --prefix and without --openssldir , that's what you get by default. Headers will be located in /usr/local/ssl/include/openssl and libraries will be located in /usr/local/ssl/lib .
I had the same problem (openssl) and this worked for me on Ubuntu 14.04.1 LTS. The solution is the same up to Ubuntu 18.04 (tested).
sudo apt-get install libssl-dev
If you're using Ubuntu, run sudo apt install libssl-dev
.
fixed it on macOS using
brew install openssl
cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DOPENSSL_LIBRARIES=/usr/local/opt/openssl/lib
Same problem, and fixed it on my centos 6.5 using the following command.
yum install openssl-devel
Please install openssl from below link:
https://code.google.com/p/openssl-for-windows/downloads/list
then set the variables below:
OPENSSL_ROOT_DIR=D:/softwares/visualStudio/openssl-0.9.8k_WIN32
OPENSSL_INCLUDE_DIR=D:/softwares/visualStudio/openssl-0.9.8k_WIN32/include
OPENSSL_LIBRARIES=D:/softwares/visualStudio/openssl-0.9.8k_WIN32/lib
sudo apt install libssl-dev
works on ubuntu 18.04.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With