Boost :: asio :: ssl OpenSSL not compiling

I am using boost :: asio :: ssl. I installed openssl via sudo apt-get install openssl. In my makefile, I am linking openssl via -lssl.

When compiling, I get the error message: fatal error: openssl / conf.h: no such file or directory

Can someone tell me what I am missing, or if I misplaced the library?

+5
source share
1 answer

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.

+8
source

All Articles