Reese Knowledgebase

Mac OS El Capitan fatal error: 'openssl/bio.h' file not found

View Kristian Reese's profile on LinkedIn


If you like this article, please +1 or Recommend via FB with the provided buttons above:

Article ID: 170
by: Reese K.
Posted: 03 Jan, 2016
Last updated: 03 Jan, 2016
Views: 442

When attempting to install libevent, I got the following error:

fatal error: 'openssl/bio.h' file not found

To correct it, I already had openssl installed via brew:

➜   brew install openssl
Warning: openssl-1.0.2a-1 already installed

Since it was already installed, I needed to install the openssl headers into /usr/local/inclue/openssl.

➜   brew link openssl --force
Linking /usr/local/Cellar/openssl/1.0.2a-1... 1543 symlinks created

Now libevent succeeded on the subsequent 'make' run.

Prev   Next
VirtualBox not allowing Insert of CTRL ALT DEL on Windows 7 Guest     DELL

RSS