make: *** [tag_tree_build] Error 1

# make
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../libdwarf gcc -g -O2 -I. -I. -I../libdwarf -I./../libdwarf -DCONFPREFIX=/usr/local/lib ./tag_tree.c tag_common.o common.o makename.o trivial_naming.o dwgetopt.o -L../libdwarf -ldwarf -lelf -lz -o tag_tree_build
/usr/bin/ld: cannot find -lelf
collect2: ld returned 1 exit status
make: *** Error 1
已邀请:

采菊篱下 - 无分享不快乐 助力技术开源分享 运维一枚

赞同来自:

答案: yum -y install elfutils-libelf-devel elfutils-libelf elfutils-libelf-devel-static

要回复问题请先登录注册