Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Boost::asio::ssl OpenSSL not compiling

I'm using boost::asio::ssl. I have installed openssl via sudo apt-get install openssl. In my makefile I link openssl via -lssl.

When compiling I am getting the error: fatal error: openssl/conf.h: No such file or directory

Can anyone tell me what I'm missing or if I'm including the library incorrectly?

like image 279
Josh Brittain Avatar asked Aug 18 '12 19:08

Josh Brittain


1 Answers

You may not have the necessary development files. Try installing the libssl-dev package with

  sudo apt-get install libssl-dev

this may solve your problem

like image 197
mathematician1975 Avatar answered Jan 03 '23 06:01

mathematician1975