Re: compilation errors on master

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Fri, 3 Feb 2017, Cristian Ionescu-Idbohrn wrote:
> On Fri, 3 Feb 2017, Scott Neugroschl wrote:
> > 
> > It looks to me like you're building against OpenSSL 1.1.0.  This 
> > won't work.  You need 1.0.2 or earlier.  The OpenSSL guys changed 
> > the API on 1.1.0.
> 
> Yes, when I look closer :)
> 
> checking OpenSSL header version... 1010003f (OpenSSL 1.1.0c  10 Nov 2016)
> checking OpenSSL library version... 1010003f (OpenSSL 1.1.0c  10 Nov 2016)
> 
> I guess I was expecting ./configure to err out or at least warn about 
> that and/or "OpenSSH has been configured with the following options:" 
> would display the openssl version. That would help.
> 
> I see there's a guard for lowest possible version, but not the higest.

Yes.  Isn't there a way to detect OpenSSL version >= 1010003f?
I see there's already code in configure.ac that does this:

	#if OPENSSL_VERSION_NUMBER < 0x0090807f /* 0.9.8g */

> This is a debian box.  I see:
> 
> 	libssl1.0.0:amd64
> 	libssl1.0.2:amd64
> 	libssl1.1:amd64
> 
> installed.  How does one go about to tell ./configure what to choose?
> I looked through, but couldn't find info on a clean way to do that :(

Answering to myself.  Yes, there's a way.  Install package:

	libssl1.0-dev

That will (if installed) remove package libssl-dev which points to 
openssl >= 1.1.0.


Cheers,

-- 
Cristian
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux