Symbol(s) not found _TLSv1_2_method _BIO_test_flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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`:

libssl.a(s23_meth.o):
.......
       U _TLSv1_2_enc_data
       U _TLSv1_2_method
......

and later
libssl.a(t1_meth.o):
.......
                 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>


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux