[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 Philip, Limiation on newer versions of OS X, I cannot change certain parts of the filesystem.

Azat and other who helped thank you!

After some thought I uninstall openssl-1.1.0c and installed openssl-1.0.2j. And then compiled libevent-2.0.22-stable with the following flags and was able to install. Things are working now.

export CFLAGS="-I/usr/local/ssl/include"
export LDFLAGS="-L/usr/local/lib"


All of this was done to compile and install tmux (I do not use brew or macports).

Thanks!

On Tue, Nov 15, 2016 at 5:55 PM, Philip Prindeville <philipp_subx@xxxxxxxxxxxxxxxxxxxxx> wrote:
You’re playing with fire if you have multiple versions of Openssl installed in the common search paths.


> On Nov 15, 2016, at 3:50 PM, varun <varun.net@xxxxxxxxx> wrote:
>
> Hi Azat,
>
> Here you go:
>
> $ nm -g /usr/lib/libssl.dylib | grep TLS_method
> $ ls -al /usr/lib/libssl.dylib
> lrwxr-xr-x  1 root  wheel  18 May 20 16:21 /usr/lib/libssl.dylib -> libssl.0.9.8.dylib
> $ openssl version
> OpenSSL 1.1.0c  10 Nov 2016
> $ which openssl
> /usr/local/bin/openssl
>
> The method does not exist, also the lib is pointing to a older version of openssl but when I run openssl it is the newest version.
> Also when compiling and install openssl I did not use any prefixes. So it would have installed int he default places.
>
> Thanks

***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.