iovisor / iovisor/bcc

can't build static bcc because of liblzma dependency

Open
#4,629 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

build bpftrace emit the following error msg:
```
_elf.c.o): in function `find_debug_file.part.0':
bcc_elf.c:(.text+0x761): undefined reference to `lzma_stream_decoder'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: bcc_elf.c:(.text+0x7e5): undefined reference to `lzma_code'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: bcc_elf.c:(.text+0x7fc): undefined reference to `lzma_end'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: bcc_elf.c:(.text+0x854): undefined reference to `lzma_end'
collect2: error: ld returned 1 exit status
```

maybe it's because of commit https://github.com/iovisor/bcc/commit/7eef39cf797b7540a69d58e2e2cf22a611ebdf45 ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.