Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force Linking to OpenSSL #158

Closed
marcus-cr opened this issue Oct 18, 2016 · 2 comments
Closed

Force Linking to OpenSSL #158

marcus-cr opened this issue Oct 18, 2016 · 2 comments

Comments

@marcus-cr
Copy link
Contributor

marcus-cr commented Oct 18, 2016

Keep getting this error when force linking OpenSSL on Sierra:

Warning: Refusing to link: openssl
Linking keg-only openssl means you may end up linking against the insecure, deprecated system OpenSSL while using the headers from Homebrew's openssl.
Instead, pass the full include/library paths to your compiler e.g.:
-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib

@Eitot
Copy link
Contributor

Eitot commented Oct 19, 2016

See #39. You should not link OpenSSL. If you need it for building software, then you should modify the build configuration and link to Homebrew’s OpenSSL manually (as explained in your error message).

@marcus-cr
Copy link
Contributor Author

marcus-cr commented Oct 19, 2016

I'm assuming this also applies to using it with instead of building software as well then. If so, I'm closing for oversight. Proposing to better clarify the guide as well @drduh:

If you're going to use OpenSSL on your Mac, download and install a recent version of OpenSSL with brew install openssl. Note, linking brew to be used in favor of /usr/bin/openssl may interfere with building software. See issue #39.

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

No branches or pull requests

2 participants