Thanks a lot.
________________________________
From: Philip Tricca <philip.b.tricca(a)intel.com>
Sent: Wednesday, March 28, 2018 10:49 PM
To: Moneeb Azhar
Cc: tpm2(a)lists.01.org
Subject: Re: [tpm2] Initialization fails with error 0xb000b
Hi Moneeb,
On Wed, Mar 28, 2018 at 05:15:10PM +0000, Moneeb Azhar wrote:
Hey,
I am getting the following error on execution:
ubuntu:~/Desktop$ sudo tpm2-abrmd --allow-root --tcti=libtcti-socket.so
** (tpm2-abrmd:36554): WARNING **: failed to dlopen library: libtcti-socket.so
** (tpm2-abrmd:36554): CRITICAL **: TCTI initialization failed: 0xb000b
Same error if i execute as tss:
$ sudo -u tss tpm2-abrmd --tcti=libtcti-socket.so
[sudo] password for wisn:
** (tpm2-abrmd:38290): WARNING **: failed to dlopen library: libtcti-socket.so
** (tpm2-abrmd:38290): CRITICAL **: TCTI initialization failed: 0xb000b
I did ldconfig after installation with no effect. I created a gist of the installation
steps I took, in case this helps:
https://gist.github.com/moneeb777/ceabfad71462d4ffc3e0c25a9da2b2ff
Can someone guide me with this?
Gladly. Running as root vs running as tss user in this case shouldn't
have an impact. The daemon isn't able to open the shared object based on
the name you've provided. This library has been renamed in the tpm2-tss
repo in anticipation of our next major release. It is now called
"libtss2-tcti-mssim.so".
Dan just updated the man page for the daemon so that we're using the
right names in the examples:
https://github.com/tpm2-software/tpm2-abrmd/commit/98dd707fe58d839e2e642e...
This of course assumes you're working off of the 'master' branch of the
repos of course.
Hope this helps,
Philip