Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency management #10

Open
plaformsre opened this issue Apr 16, 2024 · 0 comments
Open

Dependency management #10

plaformsre opened this issue Apr 16, 2024 · 0 comments

Comments

@plaformsre
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant