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
Beginner
959 Views
“./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 Kudos
5 Replies
JesusG_Intel
Moderator
891 Views

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 Kudos
Always-Wang
Beginner
829 Views

d3bcfbeb93c701e0d7bf0da68801d0b.jpg

0 Kudos
KFPW_Intel
Moderator
812 Views

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 Kudos
KFPW_Intel
Moderator
766 Views

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 Kudos
KFPW_Intel
Moderator
723 Views

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 Kudos
Reply