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
Thanks and Regards,
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
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: