[Bug 1148682] Re: symbol lookup error: /usr/lib/libopagent.so: undefined symbol: bfd_init
This bug was fixed in the package oprofile - 0.9.9-0ubuntu7 --- oprofile (0.9.9-0ubuntu7) trusty; urgency=medium * Drop debian/patches/static-libbfd-libopagnet-makefile.patch, which is causing libopagent to incorrectly avoid linking with libbfd, instead of linking with the available libbfd.so. * Amend debian/patches/static-libbfd.patch; we'll still link oprofile statically, but we want libopagent linked dynamically. LP: #1148682. -- Steve Langasek steve.langa...@ubuntu.com Tue, 11 Mar 2014 02:33:39 + ** Changed in: oprofile (Ubuntu) Status: Confirmed = Fix Released -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1148682] Re: symbol lookup error: /usr/lib/libopagent.so: undefined symbol: bfd_init
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: oprofile (Ubuntu) Status: New = Confirmed -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1148682] Re: symbol lookup error: /usr/lib/libopagent.so: undefined symbol: bfd_init
As reported at Bug 1154025, my original patch wasn't correct. We need to link statically to libbfd. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1148682] Re: symbol lookup error: /usr/lib/libopagent.so: undefined symbol: bfd_init
The attachment oprofile-link-libbfd.patch of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report. [This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.] ** Tags added: 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1148682] Re: symbol lookup error: /usr/lib/libopagent.so: undefined symbol: bfd_init
** Patch added: oprofile-link-libbfd.patch https://bugs.launchpad.net/ubuntu/+source/oprofile/+bug/1148682/+attachment/3559676/+files/oprofile-link-libbfd.patch ** Attachment removed: oprofile-link-libbfd.patch https://bugs.launchpad.net/ubuntu/+source/oprofile/+bug/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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1148682] Re: symbol lookup error: /usr/lib/libopagent.so: undefined symbol: bfd_init
** Description changed: 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. + ldd's change: + + Before: + ryoqun@rrm:~/rubinius/ryoqun$ ldd /usr/lib/libopagent.so - linux-vdso.so.1 = (0x7fff0c39a000) - libc.so.6 = /lib/x86_64-linux-gnu/libc.so.6 (0x7fb3cfc55000) - /lib64/ld-linux-x86-64.so.2 (0x7fb3d0238000) + linux-vdso.so.1 = (0x7fff0c39a000) + libc.so.6 = /lib/x86_64-linux-gnu/libc.so.6 (0x7fb3cfc55000) + /lib64/ld-linux-x86-64.so.2 (0x7fb3d0238000) + + After: + ryoqun@rrm:~/rubinius/ryoqun$ ldd /usr/lib/libopagent.so - linux-vdso.so.1 = (0x7fff5f1ff000) - libbfd-2.22.90-system.20120924.so = /usr/lib/libbfd-2.22.90-system.20120924.so (0x7f88dc80b000) - libc.so.6 = /lib/x86_64-linux-gnu/libc.so.6 (0x7f88dc44c000) - libdl.so.2 = /lib/x86_64-linux-gnu/libdl.so.2 (0x7f88dc247000) - libz.so.1 = /lib/x86_64-linux-gnu/libz.so.1 (0x7f88dc03) - /lib64/ld-linux-x86-64.so.2 (0x7f88dcd3d000) + linux-vdso.so.1 = (0x7fff5f1ff000) + libbfd-2.22.90-system.20120924.so = /usr/lib/libbfd-2.22.90-system.20120924.so (0x7f88dc80b000) + libc.so.6 = /lib/x86_64-linux-gnu/libc.so.6 (0x7f88dc44c000) + libdl.so.2 = /lib/x86_64-linux-gnu/libdl.so.2 (0x7f88dc247000) + libz.so.1 = /lib/x86_64-linux-gnu/libz.so.1 (0x7f88dc03) + /lib64/ld-linux-x86-64.so.2 (0x7f88dcd3d000) -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs