- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using SGX SDK in simulation debug mode on ubuntu 18.04, using Eclipse plugin.
When I try to run a basic "Hello world" program, it gives out the error:
error while loading shared libraries: libsgx_urts_sim.so: cannot open shared object file: No such file or directory
I previously set the enviornment variable via the following command:
source /opt/intel/sgxsdk/environment
Still the issue was not resolved. Then I tried to do the following:
"You can try source environment again. If it doesn't work, you can add the folder(${sgx-sdk-install-path}/ib64/) containing libsgx_urts_sim.so to ld path.
1. add a file under /etc/ld.so.conf.d with content like this :
/opt/intel/sgxsdk/lib64/libsgx_urts_sim.so
2. Then run."
I am getting the same error.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ramya.
The file in /etc/ld.so.conf.d only needs to contain the library folder, not the library name on the end. Also, you will need to run the "ldconfig" command after adding the new library path file.
Regards.
Scott

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page