Sorry, you are right, I didn't take a closer look at your screenshot...
You need to build Gramine with `meson setup ... -Ddcap=enabled`. By
default, Gramine is built without DCAP support. Also, the Gramine
package that we provide is built without DCAP support (we'll fix it in
future releases).
Please check:
https://gramine.readthedocs.io/en/latest/devel/building.html#additional-build-options
and
https://github.com/gramineproject/gramine/blob/master/CI-Examples/ra-tls-mbedtls/README.md.
On Wed, Jan 12, 2022 at 9:29 PM Dhruv Bhargava <
dh...@rigr.ai> wrote:
>
> Hi Dmitrii,
>
> Thanks a lot for responding, first of all, I would like to mention that I checked out the github issue and it mentions error while building the ra-tls tool which is different from what I mentioned (ra-tls-secret-prov reference provision server client implementation) and it is also a different shared library namely libsecret_prov_verify_dcap. I even tried finding the library in the /usr/ and its sub directories so that I could create a symlink but the file is not there in the directory /usr/lib/gcc/x86_64-linux-gnu/ or any other sub directories of /usr/ (find_output.png).
>
> I believe this is a gramine specific library, since when I tried running the command without trying to link the libsecret_prov_verify_dcap I got an error (undefined_reference.png) saying undefinded reference to secret_provision_close,secret_provision_start_server and secret_provision_write all of which are functions decalred in gramine/Pal/src/host/Linux-SGX/tools/ra-tls/secret_prov.h so I assumed that this would be installed automatically when I install gramine, but it isn't there.
>
> Thanks in Advance!
>
> regards,
> Dhruv