[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



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

Thanks!

On Fri, Nov 11, 2016 at 6:16 PM, varun <varun.net@xxxxxxxxx> wrote:
Hi Philip,

No I did not try or even know about that. I am using OS X.

I compiled and installed, libtool, autoconf and automake. Afterwards I was able to install run autoreconf and now there is a configure script.

Thanks!

On Fri, Nov 11, 2016 at 5:21 PM, Philip Prindeville <philipp_subx@redfish-solutions.com> wrote:
Did you try:

autoreconf -f -i

first?


On Nov 11, 2016, at 3:10 PM, varun <varun.net@xxxxxxxxx> wrote:

Hi Azat,

I just downloaded release-2.1.7-rc (https://github.com/libevent/libevent/archive/release-2.1.7-rc.tar.gz). I do not know how to compile it. Would you please mind give me instructions?

I typically just do ./configure && make and afterwards make install (or sudo make install, etc.)

There is no configure script provided in the tarball. Is there a new compilation method? I am certainly not aware of it.

Thanks!

On Fri, Nov 11, 2016 at 3:34 PM, Azat Khuzhin <a3at.mail@xxxxxxxxx> wrote:

On 11 Nov 2016 7:24 pm, "varun" <varun.net@xxxxxxxxx> wrote:
>
> Hi Azat,
>
> The patch does not even apply to libevent-2.0.22-stable. Something I might be doing wrong?

Hi,

Yeah, it is for 2.1, definitely there are conflicts, I will take a look.

  Azat.