-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
I have Ubuntu 24.
When trying to build according the docs, emulator does not start.
- Install nix - done (single user version 2.23.3)
- git clone --recurse-submodules https://github.com/OneKeyHQ/onekey-firmware.git - done
cd onekey-firmware - done - nix-shell - done
- poetry install - done
- cd core && poetry run make build_unix - done
- poetry run ./emu.py - fail
TREZOR_PATH=udp:127.0.0.1:54935
TREZOR_PROFILE_DIR=/var/tmp
TREZOR_UDP_PORT=54935
TREZOR_FIDO2_UDP_PORT=54937
TREZOR_SRC=~/onekey-firmware/core/src
Waiting for emulator to come up...
~/onekey-firmware/core/build/unix/trezor-emu-core: /nix/store/1n2l5law9g3b77hcfyp50vrhhssbrj5g-glibc-2.37-8/lib/libpthread.so.0: version `GLIBC_PRIVATE' not found (required by /nix/store/jcb7fny2k03pfbdqk1hcnh12bxgax6vf-glibc-2.33-108/lib/librt.so.1)
Traceback (most recent call last):
File "~/onekey-firmware/core/./emu.py", line 298, in <module>
cli()
File "~/onekey-firmware/.venv/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "~/onekey-firmware/.venv/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "~/onekey-firmware/.venv/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "~/onekey-firmware/.venv/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "~/onekey-firmware/core/./emu.py", line 259, in cli
emulator.start()
File "~/onekey-firmware/python/src/trezorlib/_internal/emulator.py", line 154, in start
self.wait_until_ready()
File "~/onekey-firmware/python/src/trezorlib/_internal/emulator.py", line 104, in wait_until_ready
raise RuntimeError("Emulator proces died")
RuntimeError: Emulator proces died
GLIBC_PRIVATE suggests there is some conflict in the libraries
Please help to resolve
(emulator from original Trezor repository builds and runs without any problem)
Metadata
Metadata
Assignees
Labels
No labels