问题
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?
回答1:
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
来源:https://stackoverflow.com/questions/12021525/boostasiossl-openssl-not-compiling