python import bcc error: undefined symbol: bpf_lookup_and_delete_batch
- Dominant language
- C
- Stars
- 22.7k
- Forks
- 4.1k
- Avg merge
- 10d 4h
- Merged PRs (30d)
- 3
Description
```
root@ubuntu:/home/qgb/github/ProcMon-for-Linux/build/_deps/bcc-src/src/python# /root/anaconda3/bin/python
Python 3.8.5 (default, Sep 4 2020, 07:30:14)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import bcc
Traceback (most recent call last):
File "", line 1, in
File "/home/qgb/github/ProcMon-for-Linux/build/_deps/bcc-src/src/python/bcc/__init__.py", line 27, in
from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
File "/home/qgb/github/ProcMon-for-Linux/build/_deps/bcc-src/src/python/bcc/libbcc.py", line 86, in
lib.bpf_lookup_and_delete_batch.restype = ct.c_int
File "/root/anaconda3/lib/python3.8/ctypes/__init__.py", line 394, in __getattr__
func = self.__getitem__(name)
File "/root/anaconda3/lib/python3.8/ctypes/__init__.py", line 399, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib/x86_64-linux-gnu/libbcc.so.0: undefined symbol: bpf_lookup_and_delete_batch
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.