[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] Issues compiling libevent 2.0.22-stable on OS X 10.11.6 (15G31) and OpenSSL 1.1.0c 10 Nov 2016



On Tue, Nov 15, 2016 at 12:59 AM, varun <varun.net@xxxxxxxxx> wrote:
> Hi Azat,
>
> It is failing on the following:
>
> Undefined symbols for architecture x86_64:
>   "_TLS_method", referenced from:
>       _main in le-proxy.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make[1]: *** [sample/le-proxy] Error 1
> make: *** [all] Error 2

Hi,

Can you try next patch (on top of existing)?
https://github.com/azat/libevent/commit/2530d4e96e69e83e3ecc0bfff891eaff97825df2.patch

In short: SSLv23_method() is deprcated and one should use TLS_method()

But in openssl this is just defines  (in openssl/ssl.h), so I don't
think that this patch will really helps, buy maybe you have something
patched.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.