<div dir="ltr"><div>I've also tried 1.0.2g and same problem on osx.  Little more details: on pc the expected symbol (_TLSv1_2_method) is in the ssleay32.lib as expected</div><div><br></div><div>on mac (and this is specifically on 10.5 and 10.6 Darwin i386) it builds two libs:</div><div><br></div><div>libcrypto.a and libssl.a (the undefined symbol is showing up in libssl.a but as undefined in lib itself) using `nm libssl.a`: </div><div><br></div><div>libssl.a(s23_meth.o):</div><div>.......</div><div>       U _TLSv1_2_enc_data</div><div><div>       U _TLSv1_2_method</div><div>......</div><div><br></div><div>and later</div><div>libssl.a(t1_meth.o):</div><div><div>.......</div><div>                 U _TLSv1_2_enc_data</div><div><div><div>00000000 T _TLSv1_2_method</div>000001c0 s _TLSv1_2_method_data.16176</div><div>......</div><div><br></div><div>it seems there is an object maybe missing from when it was linked.</div><div><br></div><div>Any help or suggestion would be greatly appreciated<br></div></div></div><div>Thank you in advance</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 8, 2016 at 5:29 PM, Dan S <span dir="ltr"><<a href="mailto:danchik@rebelbase.com" target="_blank">danchik@rebelbase.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello, I've compiled openssl.1.0.2h on osx (32bit) and linked staticly my project with libcrypto.a and libssl/a, but I get 2 linking errors with "Symbol(s) not found":</div><div><br></div><div>_TLSv1_2_method, referenced from ...</div><div>and</div><div>_BIO_test_flags, referenced from ...</div><div><br></div><div>Why would this be happening?  </div><div><br></div><div><br></div><div>ps: (same code works on pc as well but it is linked there with previous verision libs - 1.0.2g)</div><div><br></div><div><br></div><div>Thank you </div></div>
</blockquote></div><br></div>