Could we support lazy loading libbpf shared object file. #298
Unanswered
Songrui625
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Not sure I follow your request @Songrui625. You can compile your project using The libbpfgo selftests, for example, can be compiled either using dynamic libbpf (from the OS shared library) or using static libbpf (using the ./libbpf internal directory). You can check that in their Makefiles. Unless I didn't follow what you meant, then feel free to extend your thoughts. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, we make libbpfgo as a submodule of our project and use dynamic-build to build project. However, we encounter a problem that the binary file need to load libbpf shared file immediately once it being executed. The binary file will crash because the symbol of libc shared object file used by libbpf shared object file is not match with the version of libc shared object file on target machine.
I will appreciate If we could have a way to lazy loading libbpf shared object file.
Beta Was this translation helpful? Give feedback.
All reactions