What I need to install Tinc 1.1pre2?

Sven-Haegar Koch haegar at sdinet.de
Fri Apr 6 03:09:36 CEST 2012


On Fri, 6 Apr 2012, Guus Sliepen wrote:

> On Thu, Apr 05, 2012 at 10:29:13PM +0200, Ramses II wrote:
> 
> > But when I compile Tinc 1.1pre2:
> [...]
> > In file included from connection.h:50,
> >                  from conf.c:27:
> > ecdh.h:23:26: error: openssl/ecdh.h: No such file or directory
> 
> It seems that somehow you lost the files openssl/ecdh.h and openssl/ec.h. These
> are included in the 1.1pre2 tarball, try unpacking it again and recompiling.

Aren't these files part of openssl?

Tinc 1.1 (git) has a src/openssl/ecdh.h, but this says:

#ifndef __TINC_ECDH_H__
#define __TINC_ECDH_H__

#include <openssl/ecdh.h>
...

And this is where his compile breaks.

Here:

$ dpkg -S /usr/include/openssl/ecdh.h
libssl-dev: /usr/include/openssl/ecdh.h
$ dpkg -S /usr/include/openssl/ec.h
libssl-dev: /usr/include/openssl/ec.h

(Btw, seems a bad idea for a filename to be the same as one part of a 
required library, but should not create more than confusion ;)

Could it be that his openssl is too old and this feature needs something 
newer?

(No idea when ECDH support was added to openssl)

c'ya
sven-haegar

-- 
Three may keep a secret, if two of them are dead.
- Ben F.


More information about the tinc mailing list