Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.

Error running sample code under centos8

Always-Wang
초급자
1,849 조회수
“./app:error while loading shared libraries: libsgx_urts.so.2: cannot open shared object file: No such file or directory。” The above error message appears when executing the sample code, and several methods have been tried but cannot solve it
0 포인트
5 응답
JesusG_Intel
중재자
1,781 조회수

Hello Always-Wang,


Ensure you source the SGX environment file before running an SGX app:

source <SGX_INSTALL_PATH>/environment


Check if libsgx_urts.so is loaded by running and send us the output:

ldconfig -p | grep libsgx_urts.so


What other steps have you attempted?


Regards,

Jesus G.

Intel Customer Support


0 포인트
Always-Wang
초급자
1,719 조회수

d3bcfbeb93c701e0d7bf0da68801d0b.jpg

0 포인트
KFPW_Intel
중재자
1,702 조회수

Hi Always-Wang,

 

Based on your screenshot, we will suggest you to install the Intel(R) SGX PSW for CentOS according to this reference. Please refer to the Intel_SGX_Installation_Guide_Linux for more information. Thank you.

 

Regards,

Ken

 

0 포인트
KFPW_Intel
중재자
1,656 조회수

Hi Always-Wang,


I hope the information I provided was helpful to you. Do you need further help with this issue?

Thank you.

 

Regards,

Ken


0 포인트
KFPW_Intel
중재자
1,613 조회수

Hi Always-Wang,


We have not heard from you in several days so we will no longer monitor this thread. We hope you were able to resolve your issue. Please start a new thread if you need further help.


Regards,

Ken


0 포인트
응답