Public bug reported:
On a fresh Oneiric amd64 install, perf utility from linux-tools is
broken. Here is the error:
$ perf
perf: error while loading shared libraries: libelf.so.1: wrong ELF class:
ELFCLASS64
Many required ia32-libs are not installed. Installing ia32-libs package
doesn't solve the issue. As a temporary fix, I did a i386 chroot with
debootstrap and added the lib directory to ldconfig. Here is the
command:
sudo debootstrap --arch=i386 oneiric /chroot/
create a new file /etc/ld.so.conf.d/chroot-i386.conf with content:
/chroot/usr/lib
followed by 'sudo ldconfig'
Inside the chroot, I installed 3packages: binutils libdw1 libelf1. Even
then, there is another bug related to a reference to a wrong library
version.
perf: error while loading shared libraries:
libbfd-2.21.0-system.20110327.so: cannot open shared object file: No
such file or directory
A symlink to the available library inside the chroot solve this issue.
This part of the bug is the same as LP #876022. After those fixes, I
were able to get perf working properly.
System information:
$ lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10
$ cat /proc/version_signature
Ubuntu 3.0.0-12.20-generic 3.0.4
** Affects: linux-meta (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/885026
Title:
perf requires ia32 libs not installed under arch amd64
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/885026/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs