If we’re not checking for these dependencies @ configure time then I’d call this a bug. The gcrypt handling stuff in the autoconf file is pretty convoluted but if I’m reading your last message correctly you’re saying that it can’t tell the difference between libgcrypt 1.2 & 2.0?

 

From: tpm2 [mailto:tpm2-bounces@lists.01.org] On Behalf Of Fuchs, Andreas
Sent: 18 October, 2018 03:35
To: Terry An <terry.an.bj@gmail.com>; tpm2@lists.01.org
Subject: Re: [tpm2] does anyone compile tpm2-tss-2.1.0 successful on CentOS7?

 

tpm2-tss requires libgcrypt20 (at least that's was it's called on Ubuntu).

libgcrypt (which is the 1.x branch) is quite old and had a different API than the 20 series...

 

Maybe that's the problem...


From: tpm2 [tpm2-bounces@lists.01.org] on behalf of Terry An [terry.an.bj@gmail.com]
Sent: Thursday, October 18, 2018 12:18
To: tpm2@lists.01.org
Subject: [tpm2] does anyone compile tpm2-tss-2.1.0 successful on CentOS7?

lots of errors on my laptop.

 

I have updated libgpg-error, libgcrypt-devel, etc..