Hi all, I want to try BPF on my Debian box, so I upgrade kernel to 4.7.0 first:
# uname -a > Linux debian 4.7.0 #1 SMP Thu Jul 28 02:09:30 EDT 2016 x86_64 GNU/Linux Then I follow Ubuntu part <https://github.com/iovisor/bcc/blob/master/INSTALL.md> to install BCC, and all seems OK. But executing hello_world.py reports following error: # /usr/share/bcc/examples/hello_world.py > Traceback (most recent call last): > File "/usr/share/bcc/examples/hello_world.py", line 9, in <module> > from bcc import BPF > File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 27, in > <module> > from .libbcc import lib, _CB_TYPE, bcc_symbol > File "/usr/lib/python2.7/dist-packages/bcc/libbcc.py", line 17, in > <module> > lib = ct.CDLL("libbcc.so.0", use_errno=True) > File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__ > self._handle = _dlopen(self._name, mode) > OSError: /usr/lib/x86_64-linux-gnu/libbcc.so.0: undefined symbol: > _ZNSt14error_categoryC2Ev Could anyone help to give some comments on this issue? Thanks very much in advance! Best Regards Nan Xiao
_______________________________________________ iovisor-dev mailing list [email protected] https://lists.iovisor.org/mailman/listinfo/iovisor-dev
