oprofile-gui fails to start (missing libbfd)

Bug #322074 reported by crf
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
oprofile (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: oprofile

$ oprof_start
oprof_start: error while loading shared libraries: libbfd-2.18.0.20080103.so: cannot open shared object file: No such file or directory.

oprofile 0.9.3-1.1ubuntu
oprofile-gui 0.9.3-1.1ubuntu

Related branches

Revision history for this message
Zeev Tarantov (zeev-tarantov) wrote :

I get:
wolf@wolf-desktop:~$ opreport
opreport: error while loading shared libraries: libbfd-2.19.so: cannot open shared object file: No such file or directory

/usr/lib/libbfd-2.19.1.so exists, providing a symbolic link named "libbfd-2.19.so" to it made opreport work.

oprofile 0.9.3-2ubuntu1
binutils 2.19.1-0ubuntu3

Revision history for this message
icy (jhsueh88) wrote :

I ran into the same problem.

Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :

Same for me (oprofile-gui 0.9.3-1.1ubuntu2).
uname -a: Linux booxter-laptop 2.6.27-14-generic #1 SMP Fri Mar 13 19:54:51 UTC 2009 x86_64 GNU/Linux

booxter@booxter-laptop:~$ oprof_start
oprof_start: error while loading shared libraries: libbfd-2.18.0.20080103.so: cannot open shared object file: No such file or directory
booxter@booxter-laptop:~$ ls /usr/lib/libbfd-2.18.93
libbfd-2.18.93.20081009.so libbfd-2.18.93-multiarch.20081009.so
booxter@booxter-laptop:~$ sudo ln -s /usr/lib/libbfd-2.18.93.20081009.so /usr/lib/libbfd-2.18.0.20080103.so
[sudo] password for booxter:
booxter@booxter-laptop:~$ oprof_start
booxter@booxter-laptop:~$

Revision history for this message
Pauli (paniemin) wrote :

Solution is to compile oprofile every time libc is upgraded.

It would nice of course that opreport&oprof_start would both use libbfd.so symlink instead of so directly. I don't know why it isn't done that way

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package oprofile - 0.9.4+cvs20090629-2ubuntu1

---------------
oprofile (0.9.4+cvs20090629-2ubuntu1) karmic; urgency=low

  * Merge from debian unstable (LP: #392346), remaining changes:
    - debian/control:
      + Add LPIA architecture.
      + Build-depend on autoconf, ppu-binutils [powerpc] and quilt.
    - debian/patches/config-in-etc.patch, debian/oprofile-gui.postinst:
      + Move configuration file to /etc.
    - debian/patches/oprofile-sdk3-m4.diff:
      + Change m4 file for SDK build process.
    - debian/patches/oprofile-sdk3-stackcode.diff:
      + Add changes to allow profiling of code that the SPU runtime
        dynamically creates and runs on the stack.
    - debian/patches/unstatic_libbfd.patch:
      + Link bfd dynamically.
    - debian/rules:
      + Add patch/unpatch targets in debian/rules.
      + On powerpc configure --with-target=cell-be.
  * Changes dropped:
    - debian/patches/libc_open.patch: fixed upstream.
    - debian/patches/oprofile-sdk3-opcontrol.diff: fixed upstream.
  * Fixes LP: #310824, LP: #322074.

 -- Chris Coulson <email address hidden> Mon, 27 Jul 2009 00:30:16 +0100

Changed in oprofile (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.