5

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

Eranga Heshan
  • 5,133
  • 4
  • 25
  • 48

1 Answers1

11

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

sudo apt-get install binutils-dev
Eranga Heshan
  • 5,133
  • 4
  • 25
  • 48
Thomas Hubregtsen
  • 449
  • 1
  • 5
  • 22