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

要回复问题请先登录注册