memtt / numaprof

NUMAPROF is a NUMA memory profliler based on Pintool to track your remote memory accesses.
https://memtt.github.io/numaprof
Other
43 stars 6 forks source link

Can't locate symbol in libnumaprof-pintool.so #26

Closed Dr-Noob closed 1 year ago

Dr-Noob commented 5 years ago

I've compiled numaprof as README.md says but (it's installed at /usr/local/lib/) I can't get it to work:

[user@drnoob build]$ /usr/local/bin/numaprof -- /bin/ls
E: Unable to load /usr/local/lib/libnumaprof-pintool.so: dlopen failed: cannot locate symbol "_ZnwmSt11align_val_t" referenced by "/usr/local/lib/libnumaprof-pintool.so"...

Funny thing is:

[user@drnoob build]$ nm -g /usr/local/lib/libnumaprof-pintool.so | grep "_ZnwmSt11align_val_t"
U _ZnwmSt11align_val_t

I've already seen #25, however it seems this is a different issue. I'm using ArchLinux, with gcc 8.2.1.

svalat commented 3 years ago

This should be fixed by support of last version of pintool.

xzx0805 commented 9 months ago

@Dr-Noob Hello, I have also encountered the same issue. Did you resolve it?

svalat commented 9 months ago

Hi, you get it on which Linux version with which version of Pintool ?

In 2019 the issue was fixed by an update of pintool on their side.

xzx0805 commented 9 months ago

@svalat Hi,I've currently tried ubuntu22 with pintool3.28 and ubuntu16.04 with pintool3.5 and they all show the same error:

dlopen failed: cannot locate symbol "_ZnwmSt11align_val_t" referenced by "/usr/local/lib/libnumaprof-pintool.so"...