Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 445 Bytes

File metadata and controls

25 lines (19 loc) · 445 Bytes
title date categories
解决编译错误“fatal error: 'libelf.h' file not found”
2015-06-11
其它技术

最近在编译一个开源项目时,遇到这个编译错误:

fatal error: 'libelf.h' file not found
#include <libelf.h>
     ^
1 error generated.

解决方法是安装elfutils-libelf-devel这个软件包:

yum install elfutils-libelf-devel

或:

dnf install elfutils-libelf-devel