Skip to content
This repository was archived by the owner on Jan 27, 2022. It is now read-only.
This repository was archived by the owner on Jan 27, 2022. It is now read-only.

ImportError: /usr/lib/x86_64-linux-gnu/libsgx_dcap_quoteverify.so.1: undefined symbol: pthread_create_ocall #774

@luokingkill

Description

@luokingkill

when I test Hyperledger Avalon Proxy model with Hyperledger Besu.
I got a error:

~/avalon$ docker exec -it avalon-shell bash
root@3708c69249e6:/project/avalon# cd examples/apps/generic_client/
root@3708c69249e6:/project/avalon/examples/apps/generic_client# ./generic_client.py -b ethereum --workload_id "echo-result" -o --in_data "Hello" \

--worker_id "singleton-worker-1"

Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/verify_dcap_quote/dcap_verify_report.py", line 14, in swig_import_helper
return importlib.import_module(mname)
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 658, in _load_unlocked
File "", line 571, in module_from_spec
File "", line 922, in create_module
File "", line 219, in _call_with_frames_removed
ImportError: /usr/lib/x86_64-linux-gnu/libsgx_dcap_quoteverify.so.1: undefined symbol: pthread_create_ocall

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "./generic_client.py", line 23, in
from direct_model_generic_client import DirectModelGenericClient
File "/project/avalon/examples/apps/generic_client/direct_model_generic_client.py", line 34, in
from base_generic_client import BaseGenericClient
File "/project/avalon/examples/apps/generic_client/base_generic_client.py", line 22, in
import verify_dcap_quote.verify_dcap_quote_util as dcap_util
File "/usr/local/lib/python3.6/dist-packages/verify_dcap_quote/verify_dcap_quote_util.py", line 17, in
import verify_dcap_quote.dcap_verify_report as dcap_report_util
File "/usr/local/lib/python3.6/dist-packages/verify_dcap_quote/dcap_verify_report.py", line 17, in
_dcap_verify_report = swig_import_helper()
File "/usr/local/lib/python3.6/dist-packages/verify_dcap_quote/dcap_verify_report.py", line 16, in swig_import_helper
return importlib.import_module('_dcap_verify_report')
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_dcap_verify_report'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions