Closed StefanoSetti closed 3 years ago
Have you installed the tpm2-tss library?
in my OS?
@ionut-arm is better at answering these types of questions. But I think you need to have the tpm2-tss library installed on the machine where you build the code, but also on the machine where you run the code.
in both cases the lib is installed
Hrmm maybe it is pkg that have problem finding it.
Indeed, you should be able to check using pkg-config
. What does the following output? (you might need to install pkg-config
)
pkg-config --modversion tss2-esys
Package tss2-esys was not found in the pkg-config search path.
Perhaps you should add the directory containing `tss2-esys.pc'
to the PKG_CONFIG_PATH environment variable
Package 'tss2-esys', required by 'virtual:world', not found
I'm using fedora and pkgs tss2
and tss2-devel
are installed
Looking at our Fedora test Dockerfile, seems you might need tpm2-tss-devel
?
pkg-config --modversion tss2-esys
3.1.0
it look slike to work now.
I hope it will work - technically speaking we support versions 2.3.3 and up (and we do run tests on the CI against that version, in the Fedora container), but if anything starts failing with weird errors let us know.
Ok,I will
It works!
during the compilation process of library
tss-esapi = "6.1.1"
an error occurred:what should I do?