[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
- To: libevent-users@xxxxxxxxxxxxx
- Subject: 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
- From: Azat Khuzhin <a3at.mail@xxxxxxxxx>
- Date: Mon, 14 Nov 2016 02:21:59 +0300
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Sun, 13 Nov 2016 18:22:04 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=DDIYC6dTQz5PFwt/Kwaoo97pcRwgnoDCZ0m8PcaeXQE=; b=sgXuK5NvTQoWFA+vllGntIUNbOjnv9mwLjjMf+iljBDjMFB4TQ7Ibk2j8QnwP4zo/t /JsN3ykVlVsbh1NO5Y1keL8NHEJQP8h2WpO/33sdMDUzGrL5v6PFbhpLyRqLNaAHTysm hZBeP39CAy6MWn5C1dc6Yr92Gyk5KSuaVOaZ9AWe4/a7Ld55TE7I3vUzpqVHgbYHIX+9 130GH9KOQ/futuj0qjfnBt1aQ4YeyLoeOAdhGZgQcz8Xxkq5mczmxhOq2gh7PIbFHzCj HBmBa0fqaecZhvFgs3n7dJFkKNPj+RaOEO0GYou8GGtYi0hpJnvDWkNyXGvt5FWF/Mk/ Vhvw==
- In-reply-to: <CAJ7z5t=9kHDZJSpoM6CcB6sNmMgDa0cAb0kO+rfDFD9Ztw1hyQ@mail.gmail.com>
- References: <CAJ7z5t=BefL72y7m45gnKSYyMpWYXjAqcrh4355v-VxkEy837w@mail.gmail.com> <CAG5DWojDhYjtV=VsuW=Mw0c8MngtydQ+FQ0oJqnokvVf_ebwYQ@mail.gmail.com> <CAJ7z5t=L6eLpNvPv3rNFcGP9uRvD64GwN0f0DVK6V9dey_-eQw@mail.gmail.com> <CAJ7z5tmxVEFO8jBGtWKOr8PT8bpu2_p30Fgy9Yo8+RuxdoLqTw@mail.gmail.com> <CAG5DWohFg4JGZv=p67sX2ar=ytBh=QfeMdUhNwWYxXzBByaicw@mail.gmail.com> <CAJ7z5tkZMgCLTY+zRkzFdrgFaReSLU=r--+1WTr2W7Tg5OVvsA@mail.gmail.com> <DE0CA5CC-FC28-49C4-91AF-84D86DE11CA0@redfish-solutions.com> <CAJ7z5t=dgd-tm7jW_iXUg7LgXoMD4x67EgxW6Dc0AvS6Hj81sQ@mail.gmail.com> <CAJ7z5t=9kHDZJSpoM6CcB6sNmMgDa0cAb0kO+rfDFD9Ztw1hyQ@mail.gmail.com>
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
On Sat, Nov 12, 2016 at 2:22 AM, varun <varun.net@xxxxxxxxx> wrote:
> Hi,
>
> Now I am getting a different error on make for libevent-release-2.1.7-rc:
>
> Undefined symbols for architecture x86_64:
> "_OPENSSL_init_crypto", referenced from:
> _main in le-proxy.o
> "_OPENSSL_init_ssl", referenced from:
> _main in le-proxy.o
> "_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
>
>
>
> I configured, compiled and install openssl-.1.1.0c with the correct target
> platform.
> ~/openssl-1.1.0c $ ./configure darwin64-x86_64-cc && make
Hi!
So in openssl 1.1 thouse functions was deprecated [1], and in [2]
le-proxy.c wasn't fixed.
But what bothers me is that those functions *should exist*, but seems
that OPENSSL_NO_DEPRECATED do this.
Anyway can you give [3] a try?
[1]: https://www.openssl.org/docs/man1.1.0/ssl/SSL_library_init.html
[2]: https://github.com/libevent/libevent/pull/397
[3]: https://github.com/libevent/libevent/compare/master...azat:openssl-1.1-init-fixes.patch
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.