bcc: Could NOT find LibDebuginfod
Hi,
I am new here.
When to compile bcc from source in ubuntu 20.04, I got a line at the first step.
Could NOT find LibDebuginfod (missing: LIBDEBUGINFOD_LIBRARIES LIBDEBUGINFOD_INCLUDE_DIRS)
But I googled a lot without any info.
Please help. Which package includes this lib? Thanks.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 13
- Comments: 26 (2 by maintainers)
solved by : sudo apt-get install libclang-10-dev
Need to install the clang dev package.
This does not work.
I had a similar problem:
But, it was solved by setting
LLVM_ROOT=/usr/lib/llvm-7
environment variable:I solved the problem by following the instruction from https://github.com/iovisor/bcc/blob/master/INSTALL.md#ubuntu---source
I fix this issue by using different llvm version at cmake.
I had a similar issue on Ubuntu 18.04. Botch clang 9.0 and 6.0 were installed. I removed 6.0 and was able to compile bcc.
I have both llvm10 and llvm12 on Ubuntu 20.04. Uninstall llvm10 solve the problem.
https://github.com/iovisor/bcc/pull/3393
Maybe you need elfutils installed.
Checkout to a stable commit or tag like: