Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"bfd library not found" error when configuring Oprofile

I downloaded oprofile zip and then extracted it. 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 🙏

like image 421
Eranga Heshan Avatar asked Aug 29 '16 12:08

Eranga Heshan


1 Answers

Seems like you are missing a library. This command installs bfd library for me:

sudo apt-get install binutils-dev
like image 73
Thomas Hubregtsen Avatar answered Sep 21 '22 13:09

Thomas Hubregtsen