"bfd library not found" error when configuring Oprofile

3.9k Views Asked by At

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

1

There are 1 best solutions below

0
Thomas Hubregtsen On BEST ANSWER

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

sudo apt-get install binutils-dev