Public bug reported:

libopagent.so have to be linked to libbfd.

I just created a tiny patch for it. However, I'm not sure if this is the
right way to fix it..

Please review this.

ryoqun@rrm:~/rubinius/ryoqun$ ldd /usr/lib/libopagent.so
        linux-vdso.so.1 =>  (0x00007fff0c39a000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb3cfc55000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fb3d0238000)
ryoqun@rrm:~/rubinius/ryoqun$ ldd /usr/lib/libopagent.so
        linux-vdso.so.1 =>  (0x00007fff5f1ff000)
        libbfd-2.22.90-system.20120924.so => 
/usr/lib/libbfd-2.22.90-system.20120924.so (0x00007f88dc80b000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f88dc44c000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f88dc247000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f88dc030000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f88dcd3d000)

** Affects: oprofile (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "oprofile-link-libbfd.patch"
   
https://bugs.launchpad.net/bugs/1148682/+attachment/3559675/+files/oprofile-link-libbfd.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1148682

Title:
  symbol lookup error: /usr/lib/libopagent.so: undefined symbol:
  bfd_init

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/oprofile/+bug/1148682/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to