All of lore.kernel.org
 help / color / mirror / Atom feed
* symbol lookup error: ./libperf-gtk.so: undefined symbol: callchain_param
@ 2021-11-09  9:53 Neven Sajko
  2021-11-09 10:22 ` Neven Sajko
  0 siblings, 1 reply; 3+ messages in thread
From: Neven Sajko @ 2021-11-09  9:53 UTC (permalink / raw)
  To: linux-perf-users

I built perf from linux git master with GTK2=1 on my Archlinux, but
I'm having trouble actually running the GTK2 UI.

When I run LD_PRELOAD=./libperf-gtk.so ./perf annotate --gtk, perf
exits with this error:
./perf: symbol lookup error: ./libperf-gtk.so: undefined symbol: callchain_param

Any suggestions?

Thanks,
Neven

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: symbol lookup error: ./libperf-gtk.so: undefined symbol: callchain_param
  2021-11-09  9:53 symbol lookup error: ./libperf-gtk.so: undefined symbol: callchain_param Neven Sajko
@ 2021-11-09 10:22 ` Neven Sajko
  2021-11-09 10:41   ` Neven Sajko
  0 siblings, 1 reply; 3+ messages in thread
From: Neven Sajko @ 2021-11-09 10:22 UTC (permalink / raw)
  To: linux-perf-users

On Tue, 9 Nov 2021 at 09:53, Neven Sajko <nsajko@gmail.com> wrote:
>
> I built perf from linux git master with GTK2=1 on my Archlinux, but
> I'm having trouble actually running the GTK2 UI.
>
> When I run LD_PRELOAD=./libperf-gtk.so ./perf annotate --gtk, perf
> exits with this error:
> ./perf: symbol lookup error: ./libperf-gtk.so: undefined symbol: callchain_param
>
> Any suggestions?

Now that I think about how this is actually supposed to work, I guess
that using LD_PRELOAD was wrong.

However, I still can't get the GTK2 GUI to start up: I tried both
using and empty  LD_LIBRARY_PATH (to make dlopen look in the current
directory) and copying libperf-gtk.so to /lib. Both of those attempts
resulted in:
GTK browser requested but could not find libperf-gtk.so

Thanks,
Neven

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: symbol lookup error: ./libperf-gtk.so: undefined symbol: callchain_param
  2021-11-09 10:22 ` Neven Sajko
@ 2021-11-09 10:41   ` Neven Sajko
  0 siblings, 0 replies; 3+ messages in thread
From: Neven Sajko @ 2021-11-09 10:41 UTC (permalink / raw)
  To: linux-perf-users

On Tue, 9 Nov 2021 at 10:22, Neven Sajko <nsajko@gmail.com> wrote:
>
> On Tue, 9 Nov 2021 at 09:53, Neven Sajko <nsajko@gmail.com> wrote:
> >
> > I built perf from linux git master with GTK2=1 on my Archlinux, but
> > I'm having trouble actually running the GTK2 UI.
> >
> > When I run LD_PRELOAD=./libperf-gtk.so ./perf annotate --gtk, perf
> > exits with this error:
> > ./perf: symbol lookup error: ./libperf-gtk.so: undefined symbol: callchain_param
> >
> > Any suggestions?
>
> Now that I think about how this is actually supposed to work, I guess
> that using LD_PRELOAD was wrong.
>
> However, I still can't get the GTK2 GUI to start up: I tried both
> using and empty  LD_LIBRARY_PATH (to make dlopen look in the current
> directory) and copying libperf-gtk.so to /lib. Both of those attempts
> resulted in:
> GTK browser requested but could not find libperf-gtk.so

FTR, the same issue appears when perf is built from the 5.14.16 tarball.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-09 10:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-09  9:53 symbol lookup error: ./libperf-gtk.so: undefined symbol: callchain_param Neven Sajko
2021-11-09 10:22 ` Neven Sajko
2021-11-09 10:41   ` Neven Sajko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.