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

Build fails: libelf not found #21

Open
dietWall opened this issue Jul 29, 2021 · 2 comments
Open

Build fails: libelf not found #21

dietWall opened this issue Jul 29, 2021 · 2 comments

Comments

@dietWall
Copy link

Build fails on Debian 10 with

checking dependency style of gcc... gcc3
./configure: line 3410: syntax error near unexpected token `libelf,'
./configure: line 3410: `PKG_CHECK_MODULES(libelf, libelf)'
Configure failed

System:

$ lsb_release -d
Description:    Debian GNU/Linux 10 (buster)

libelf is installed:

~/iotg_tsn_ref_sw$ sudo apt list --installed | grep libelf

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libelf++0/stable,now 0.3-1 amd64  [installiert]
libelf-dev/stable,now 0.176-1.1 amd64  [installiert]
libelf1/stable,now 0.176-1.1 amd64  [installiert]
libelfin-dev/stable,now 0.3-1 amd64  [installiert]
@yin-n
Copy link

yin-n commented Oct 27, 2021

I have the same problem.

@tkalceca
Copy link

Just came across the same issue recently. For some reason installing pkg-config sudo apt install pkg-config solved above error. Finally checking that libelf find / -name libelf*.pc is within paths as reported by pkg-config --variable pc_path pkg-config. In my case it was under /usr/lib/x86_64-linux-gnu/pkgconfig/

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

3 participants