[tor-relays] building Tor against LibreSSL 2.1.1 fails with "undefined reference to `EVP_aes_128_ctr'" error

Nick Mathewson nickm at freehaven.net
Tue Dec 23 14:33:44 UTC 2014


On Mon, Dec 22, 2014 at 5:54 PM, Seth <list at sysfu.com> wrote:
> On Sat, 22 Nov 2014 17:33:59 -0800, Seth <list at sysfu.com> wrote:
>>
>> Thanks for the information. I was able to get the latest git version of
>> Tor build against the libressl-2.1.1 pkg in a fresh FreeBSD 9x jail using
>> the following steps:
>>
>> pkg install libressl autoconf git gmake gettext
>> mkdir /usr/local/src;cd /usr/local/src;git clone
>> https://git.torproject.org/git/tor
>> cd tor;sh autogen.sh;./configure --with-openssl-dir=/usr/local
>> --disable-asciidoc
>> make;make install;tor
>
>
> Unfortunately after upgrading LibreSSL from 2.1.1 to 2.1.2 this method now
> fails with the error:
>
> src/common/tortls.c: In function 'find_cipher_by_id':
> src/common/tortls.c:1480: error: 'SSL_METHOD' has no member named
> 'get_cipher_by_char'
> src/common/tortls.c:1486: error: 'SSL_METHOD' has no member named
> 'get_cipher_by_char'
> *** [src/common/tortls.o] Error code 1
>
> I'll post a comment in the related Tor trac ticket

What version of Tor are you using here?  I think we have this fixed in
0.2.6.1-alpha with this commit:
   d1fa0163e571913b8e4972c5c8a2d46798f46156
And this ticket:
   https://trac.torproject.org/projects/tor/ticket/13325

-- 
Nick


More information about the tor-relays mailing list