intel / intel/confidential-computing.sgx.sdk
Build error in SampleAttestationTLS
- Dominant language
- C++
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
I tried to build the sample project "SampleAttestationTLS" but it returns me error.
```
g++ -o tls_server_host untrusted_sgx_socket.o tls_server_u.o host.o ucommon.o -m64 -O0 -g -L/home/liuxs/intel/linux-sgx/SampleCode/SampleAttestedTLS/sgxssl/Linux/package/lib64 -Wl,--whole-archive -lsgx_usgxssl -Wl,--no-whole-archive -L/opt/intel/sgxsdk/lib64 -lsgx_urts -lsgx_utls -lsgx_dcap_ql -lsgx_dcap_quoteverify -lcrypto -lpthread
/usr/local/bin/ld: cannot find -lsgx_dcap_ql
/usr/local/bin/ld: cannot find -lsgx_dcap_quoteverify
```
I am running on a i7-8750hk chip and ubuntu22.04, I've installed OOT SGX driver and PSW.
Other projects like "RemoteAttestation" works fine on my setup.
Contributor guide
Research direction
Start with the SampleAttestationTLS build command and the SDK library paths shown in the report, checking why libsgx_dcap_ql and libsgx_dcap_quoteverify cannot be found. Compare the installed SGX SDK and PSW libraries with the working RemoteAttestation setup; done means SampleAttestationTLS builds without either linker error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux, ubuntu
- Domain
- build-system, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100