Skip to content

Problem with Enclave Creation in simulation mode #5

@zek256

Description

@zek256

Ubuntu 16.04 LTE
Non-Intel processor on computer
Intel SGX installed

Results of running /src/bin/testnet/teechain_deposits.sh:

~/Desktop/Teechain-master/src/bin/testnet$ ./teechain_deposits.sh
Mounting a RAM disk for server output in test directory!
~/Desktop/Teechain-master/src ~/Desktop/Teechain-master/src/bin/testnet
Starting two ghost teechain enclaves...
Spawning enclave ALICE listening on port 10001 in bin/testnet/test/alice.txt 
Spawning enclave BOB listening on port 10002 in bin/testnet/test/bob.txt 
Waiting until enclaves are initialized ...!.........................................................................................................................................................................................................

So far the enclave is not being created and the teechain_deposits.sh is stuck in this loop.
I see that because the alice.txt nor bob.txt has not added "Enclave created", then line 42 fails to break out of the while loop.
I tried manually executing line 49 to see what happens (./teechain primary -p $ALICE_PORT) and I received:
./teechain: error while loading shared libraries: libsgx_urts_sim.so: cannot open shared object file: No such file or directory
Which leads me to believe that there is possibly something wrong with my installation/configuration of the Intel SGX simulation mode.

I will provide updates as I continue looking at this, any further insight would be appreciated.

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