*** This bug is a duplicate of bug 2076190 ***
https://bugs.launchpad.net/bugs/2076190
This is definitely an annoying bug - i hit as well and only compiling it
again with all the needed libraries fixed it but when i copy the binary
over to /usr/local/bin or /usr/bin it breaks again! RPATH or something
is off...
i had to symlink to the compiled version initially until i figured out
the root issue. Very glitchy....
I confirmed RPATH settings hold during compile and when its copied over,
gone! (Hardcoded to be relative to build dir)
make V=1 LIBTRACEEVENT_DYNAMIC=1
LDFLAGS="-Wl,-rpath,/usr/lib/x86_64-linux-gnu" | grep -i rpath
when copying the binary due to the hardcoded rpath you need to patch it
as such.
patchelf --set-rpath /usr/lib/x86_64-linux-gnu /usr/local/bin/perf
This should not be needed - Needs fixing :)
this is the only way to avoid needing a symlinked version.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2019247
Title:
perf should be compiled with libtraceevent
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2019247/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs