我正在Ubuntu 20.04上使用英特尔SGX,并尝试运行一些SampleApps。但是,我收到如下错误:./app: error while loading shared libraries: libsgx_urts.so.2: cannot open shared object file: No such file or directory
我在网上查了一下,有人说我需要做source /opt/intel/sgxsdk/environment
,但是sgxsdk里没有/environment。-bash: /opt/intel/sgxsdk/environment: No such file or directory
1条答案
按热度按时间nimxete21#
您必须验证是否已安装英特尔SGX sdk。可以从github repo安装,也可以直接从the intel repo下载二进制文件。
如果你使用的是github repo,你应该遵循构建过程,然后安装sdk,例如在ubuntu20.04上的步骤如下: