blob: bc834bf52e44c686fe7e2192d7c14e7b963c0c00 [file] [log] [blame]
Alexei Starovoitov0d056572015-06-09 20:36:56 -07001Q: while running 'make test' I'm seeing:
2 'ImportError: No module named pyroute2'
3A: Install pyroute2:
4 git clone https://github.com/svinota/pyroute2.git
5 cd pyroute2; sudo make install
6
7Q: hello_world.py fails with:
8 OSError: libbpfprog.so: cannot open shared object file: No such file or directory
9A: make sure to 'make install' and add the directory
10 where libbpfprog.so was installed into your LD_LIBRARY_PATH
11 export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
12
13Q: hello_world.py still fails with:
14 bpf: Operation not permitted
15 Exception: Failed to load BPF program hello
16A: sudo