Eranga Heshan
Eranga Heshan

Reputation: 5804

"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 🙏

Upvotes: 5

Views: 4279

Answers (1)

Thomas Hubregtsen
Thomas Hubregtsen

Reputation: 439

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

sudo apt-get install binutils-dev

Upvotes: 11

Related Questions