[openssl-users] Symbol(s) not found _TLSv1_2_method _BIO_test_flags

Dan S danchik at rebelbase.com
Sat Jun 11 02:56:52 UTC 2016

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

on mac (and this is specifically on 10.5 and 10.6 Darwin i386) it builds
two libs:

libcrypto.a and libssl.a (the undefined symbol is showing up in libssl.a
but as undefined in lib itself) using `nm libssl.a`:

       U _TLSv1_2_enc_data
       U _TLSv1_2_method

and later
                 U _TLSv1_2_enc_data
00000000 T _TLSv1_2_method
000001c0 s _TLSv1_2_method_data.16176

it seems there is an object maybe missing from when it was linked.

Any help or suggestion would be greatly appreciated
Thank you in advance

On Wed, Jun 8, 2016 at 5:29 PM, Dan S <danchik at rebelbase.com> wrote:

> 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":
> _TLSv1_2_method, referenced from ...
> and
> _BIO_test_flags, referenced from ...
> Why would this be happening?
> ps: (same code works on pc as well but it is linked there with previous
> verision libs - 1.0.2g)
> Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20160610/ad54977a/attachment-0001.html>

More information about the openssl-users mailing list