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

Error while loading shared libraries: libsgx_urts_sim.so

Clindo_Devassy_K_
2,829 Views

Hi,

I am trying to develop Intel SGX based apps with the available Eclipse-Plugin on Linux 14.04 LTS. I could generate the binaries, but while running as a local C++ application, I am getting this error:

/home/.../sgx/enclave_SPEnclave/sample: error while loading shared libraries: libsgx_urts_sim.so: cannot open shared object file: No such file or directory

Please help.

Thanks and Regards,

Clindo

 

0 Kudos
2 Replies
Prabu_R_Intel
Employee
2,829 Views

Hello Clindo

Please ensure the following items
- In the application project settings the shared library path are set accurately.
- Intel SGX SDK is installed properly and shared library are found in the system folder

Please refer for building Intel SGX application in Hardware/Simulation mode using Linux environment
https://github.com/01org/linux-sgx
 
Thanks,
R.Prabu

0 Kudos
Amr_A_
Novice
2,829 Views

I faced the same issue. The problem that ubunto doesnot see SGX_SDK path.
So in my case to make work, I did the following:

Source (YourPath)/linux-sgx/linux/installer/bin/sgxsdk/environment


 

0 Kudos
Reply