peetch
peetch copied to clipboard
Dependency management
Hi,
I tried to containerize your tool and the dependencies, but it seems there might be incorrect versions of packages / libraires when I execute peetch dump
Could you share dependencies and versions that work with your code?
This is the last error I received when executed 'peetch dump':
File "/usr/local/bin/peetch", line 5, in <module>
from peetch import main
File "/usr/local/lib/python3.10/dist-packages/peetch/__init__.py", line 15, in <module>
from bcc import BPF, BPFProgType, BPFAttachType
File "/usr/lib/python3/dist-packages/bcc/__init__.py", line 27, in <module>
from .libbcc import lib, bcc_symbol, bcc_symbol_option, bcc_stacktrace_build_id, _SYM_CB_TYPE
File "/usr/lib/python3/dist-packages/bcc/libbcc.py", line 20, in <module>
lib.bpf_module_create_b.restype = ct.c_void_p
File "/usr/lib/python3.10/ctypes/__init__.py", line 387, in __getattr__
func = self.__getitem__(name)
File "/usr/lib/python3.10/ctypes/__init__.py", line 392, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /lib/x86_64-linux-gnu/libbcc.so.0: undefined symbol: bpf_module_create_b
Thank you