Redex: openssl/evp.h' file not found

Created on 14 Apr 2016  路  5Comments  路  Source: facebook/redex

Building command fails
autoreconf -ivf && ./configure && make && make install

Error output is below :

In file included from io/async/AsyncPipe.cpp:16:
In file included from ./../folly/io/async/AsyncPipe.h:18:
In file included from ./../folly/io/async/AsyncTransport.h:23:
In file included from ./../folly/io/async/AsyncSocketBase.h:19:
In file included from ./../folly/io/async/EventBase.h:43:
In file included from ./../folly/io/async/Request.h:27:
./../folly/SingletonThreadLocal.h:32:21: warning: initialized lambda captures are a C++14 extension
[-Wc++14-extensions]
: singleton_(createFunc = std::move(createFunc) mutable {
^
./../folly/SingletonThreadLocal.h:33:36: warning: initialized lambda captures are a C++14 extension
[-Wc++14-extensions]
return new ThreadLocalT([createFunc =
^
In file included from io/async/AsyncPipe.cpp:16:
In file included from ./../folly/io/async/AsyncPipe.h:18:
In file included from ./../folly/io/async/AsyncTransport.h:26:
./../folly/io/async/ssl/OpenSSLPtrTypes.h:20:10: fatal error: 'openssl/evp.h' file not found

include

     ^

2 warnings and 1 error generated.
make[4]: ** [io/async/AsyncPipe.lo] Error 1
make[3]: *
* [all-recursive] Error 1
make[2]: ** [all] Error 2
make[1]: *
* [all-recursive] Error 1
make: *** [all] Error 2

Most helpful comment

@erdemolkun

$ brew install openssl
$ brew link openssl --force

i find the solution.it works for me

All 5 comments

same problem .just now.

@erdemolkun

$ brew install openssl
$ brew link openssl --force

i find the solution.it works for me

@kingty sample problem,everything be done with your solution,thank you

Close! Linking openssl works.

$ brew link openssl --force

This works. thanks @kingty

Was this page helpful?
0 / 5 - 0 ratings