configure: WARNING: We can't links against the ssl libraryconfigure: error: Perhaps you need to use the --with-ssl-libraries directive
sudo apt-get install libssl libssl-dev
./configure --with-ssl-libraries