Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
212 Views

Error while loading shared libraries: libsgx_urts_sim.so

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
Highlighted
Employee
212 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
Highlighted
Beginner
212 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