tpm2-software / tpm2-pytss

Python bindings for TSS
https://tpm2-pytss.readthedocs.io/en/latest/
BSD 2-Clause "Simplified" License
64 stars 45 forks source link

ImportError: libtss2 shared library not found #591

Closed tsarovek0 closed 2 months ago

tsarovek0 commented 2 months ago

Hello, my exact issue is ImportError: libtss2-policy.so.0: cannot open shared object file: No such file or directory. It happens already on import of tpm2_pytss within the python file. I installed it via cloning into the repo using the tutorial on the tpm2-pytss docs page. (https://tpm2-pytss.readthedocs.io/en/latest/install.html) The idea is to manage a software tpm using python. Therefore I have the IBM tpm_server up and running (dockerized). I'm running Rocky Linux 9.2. I would appreciate any help...

tsarovek0 commented 2 months ago

After explicit installation of tss2-devel, it worked... dnf install -y tss2-devel In case anyone else is struggling