go-tpm-tools
go-tpm-tools copied to clipboard
Issue building on Ubuntu 2204 jammy
I've been bumping a docker container from Ubuntu2004 to Ubuntu2204 and encountered the following error:
# github.com/google/go-tpm-tools/simulator/internal
In file included from /root/go/pkg/mod/github.com/google/[email protected]/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/BnValues.h:317,
from /root/go/pkg/mod/github.com/google/[email protected]/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Global.h:82,
from /root/go/pkg/mod/github.com/google/[email protected]/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:52,
from /root/go/pkg/mod/github.com/google/[email protected]/simulator/internal/internal.go:34:
/root/go/pkg/mod/github.com/google/[email protected]/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslMath.h:52:5: error: #error Untested OpenSSL version
52 | # error Untested OpenSSL version
| ^~~~~
I've only found the following related issue: https://github.com/ibm-openbmc/dev/issues/3452
Anyways, my workaround was to manually install libssl-dev_1.1.1:
wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb
wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.1.1f-1ubuntu2.16_amd64.deb
sudo dpkg -i libssl-dev_1.1.1f-1ubuntu2.16_amd64.deb
Are there any plans to address this issue?