osrm-text-instructions
osrm-text-instructions copied to clipboard
Asset /probe.o not found
Hi,
I can't make it works following your README steps:
- Clone the repo
- Install Golang 1.13+
- Install clang & llvm
- Create a profile file for user bob in /profiles/bob.yaml
- Run:
make build-ebpf
- Run:
make build
- Run:
make install
- Run:
ssh-probe-register --user bob --output /tmp/qr.png
- Flash the created qr code
- Export the SSH_PROBE_SECRETS="bob:2QKHKH3LEXGSH2LB" in env
- Now when running:
sudo --preserve-env=SSH_PROBE_SECRETS ./bin/ssh-probe --profiles ./profiles/bob.yaml --access-control-events-level allow --agent-url "127.0.0.1:10518"
I get this error:
FATAL[2022-11-03T08:41:33Z] failed to retrieve eBPF bytecode: Asset /probe.o not found
But there is a file called probe.o in ./ebpf/bin/probe.o. I tried to change the path to call the asset in the generated file (in ./pkg/assets/probe.go for example) but couldn't make it works...
Any idea please?
My machine is a VirtualBox VM:
- Ubuntu 22.04 LTS
- Kernel: 5.15.0-52-generic
Tell me if you need more information. Regards.
Hello this problem solve with change /probe.o in related code to probe.o