Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look for versioned libsgx_urts.so.2 library in PCKRetrievalTool #434

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tools/PCKRetrievalTool/App/utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ typedef sgx_status_t (SGXAPI *sgx_create_enclave_func_t)(const LPCSTR file_name,
#else
#define PCE_ENCLAVE_NAME "libsgx_pce.signed.so.1"
#define ID_ENCLAVE_NAME "libsgx_id_enclave.signed.so.1"
#define SGX_URTS_LIBRARY "libsgx_urts.so"
#define SGX_URTS_LIBRARY "libsgx_urts.so.2"
#define SGX_MULTI_PACKAGE_AGENT_UEFI_LIBRARY "libmpa_uefi.so.1"
#define FINDFUNCTIONSYM dlsym
#define CLOSELIBRARYHANDLE dlclose
Expand Down Expand Up @@ -204,7 +204,7 @@ bool get_urts_library_handle()
#else
sgx_urts_handle = dlopen(SGX_URTS_LIBRARY, RTLD_LAZY);
if (sgx_urts_handle == NULL) {
printf("ERROR: didn't find the sgx_urts.so library, please make sure you have installed sgx_urts installer package. \n");
printf("ERROR: didn't find the " SGX_URTS_LIBRARY " library, please make sure you have installed sgx_urts installer package. \n");
return false;
}
#endif
Expand Down