Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Possible solution for openssl header file missing issue while installing REDI from source. #209

Open
ash-kai opened this issue Jul 12, 2016 · 2 comments

Comments

@ash-kai
Copy link

ash-kai commented Jul 12, 2016

While installing REDI from the source, if you face the error:
"openssl/opensslv.h' file not found"
One of the solution is to try to uninstall openssl and then reinstall through brew.
However when you reinstall through brew it does not create symlinks (because of which other applications may find it hard to locate openssl header files)
If you build your own software and it requires this formula, you'll need to add to your build variables: LDFLAGS: -L/usr/local/opt/openssl/lib CPPFLAGS: -I/usr/local/opt/openssl/include
This should resolve the above issue.

@nrejackufl
Copy link
Contributor

Thanks for opening the issue. More info: This is seen on Mac OS X (note usage of brew).

@nrejackufl
Copy link
Contributor

This problem can also be avoided by upgrading pip to >8.1.2 and manually installing cryptography:
pip install cryptography.

This installs directly from the wheel and avoids having to compile cryptography from source.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants