forked from iovisor/bcc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FAQ.txt
16 lines (14 loc) · 606 Bytes
/
FAQ.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Q: while running 'make test' I'm seeing:
'ImportError: No module named pyroute2'
A: Install pyroute2:
git clone https://github.com/svinota/pyroute2.git
cd pyroute2; sudo make install
Q: hello_world.py fails with:
OSError: libbpfprog.so: cannot open shared object file: No such file or directory
A: make sure to 'make install' and add the directory
where libbpfprog.so was installed into your LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
Q: hello_world.py still fails with:
bpf: Operation not permitted
Exception: Failed to load BPF program hello
A: sudo