[英]“bfd library not found” error when configuring Oprofile
I downloaded oprofile zip and then extracted it.我下载了oprofile zip,然后解压缩了它。 Then using the command然后使用命令
./configure --prefix=/home/eranga/Software/oprofile-1.1.0
I tried to install it.我尝试安装它。 Below are the last console messages.下面是最后的控制台消息。
checking for bfd_openr in -lbfd... no
checking for compress in -lz... yes
checking for bfd_fdopenr in -lbfd... no
configure: error: bfd library not found
Can anyone suggest why this is happening and a solution to it.任何人都可以建议为什么会发生这种情况以及解决方案。 Thanks in advance 🙏提前谢谢🙏
Seems like you are missing a library.好像你缺少一个图书馆。 This on installed the bfd library for me:这为我安装了 bfd 库:
$sudo apt-get install binutils-dev
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.