<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Hi Jeff,</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">When compiling cryptography your compiler and linker will use the paths that are provided. Homebrew does not put OpenSSL in the include or library path for a variety of good reasons, so to compile against homebrew OpenSSL you'll need to follow the instructions here: <a href="https://cryptography.io/en/latest/installation/#using-your-own-openssl-on-os-x">https://cryptography.io/en/latest/installation/#using-your-own-openssl-on-os-x</a></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">If you're running a more recent pip (7+) you'll also need to either delete your wheel cache (as it now has the wrong compiled version cached) or pass --no-use-wheel as a flag.</div> <div><br></div><div>-Paul</div> <br><p class="airmail_on" style="color:#000;">On August 31, 2015 at 6:43:03 PM, Jeff Feng (<a href="mailto:jianhua@us.ibm.com">jianhua@us.ibm.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>



<title></title>


<p>Hi,<br>
<br>
I'm setting up development environment on my Mac, and using
virtualenv.<br>
<br>
When I run cryptography test cases, I found the old OS X bundled
openssl was used, not the latest openssl installed by
Homebrew.<br>
<br>
So, I did version check in my virtualenv:<br>
<br>
$ which openssl<br>
/usr/local/bin/openssl <-- looks good<br>
<br>
$ openssl version<br>
OpenSSL 0.9.8zg 14 July 2015 <----errh, not right.<br>
<br>
$ /usr/local/bin/openssl version<br>
OpenSSL 1.0.2d 9 Jul 2015 <----- it's right<br>
<br>
<br>
Anyone have idea which config I missed ?<br>
<br>
Thanks in advance.<br>
<br>
- Jeff<br>
<br></p>


_______________________________________________
<br>Cryptography-dev mailing list
<br>Cryptography-dev@python.org
<br>https://mail.python.org/mailman/listinfo/cryptography-dev
<br></div></div></span></blockquote></body></html>