You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
error: libunwind.so: cannot open shared object file: No such file or directory #157
python3.6 -m vmprof --mem --web myscript.py
I tried on CentOS 6.5 and Ubuntu 16. Both of them gave me this error.
Full message:
could not load libunwind at runtime. error: libunwind.so: cannot open shared object file: No such file or directory
Uploading to http://vmprof.com...
=> Uploading the cpu profile...
http://vmprof.com/#/xxx
For anyone who came here from Google. On Ubuntu, this can be fixed by installing libunwind-dev package:
sudo apt-get install -y libunwind-dev
Reacted by Michael Greene, Adam Veldhousen, Jeff Carpenter, Tongyao Si, Efthimis C., Hirbod Behnam, Ignas Sakalauskas, Přemysl Karbula, Jonas Rabe, Adam Rhine and 36 more
Can you try again with version 0.4.11.dev2? ($ pip install vmprof --pre). I tried on an ubuntu machine (32bit, 12.04) and it successfully loaded vmprof.so from the wheel.
Activity
planrich commentedon Oct 20, 2017
Looking at that right now. As far as I can tell, the wheels (0.4.9) at least contain a built version of libunwind.so...
squeaky-pl commentedon Oct 22, 2017
@planrich you can reproduce it at least on Fedora by installing from HEAD tarball:
it's because you dont look for
libunwindwith the SO version in the name:Of course I can make a symlink to solve this but I guess you should try several names before giving up.
hieu-n commentedon Oct 28, 2017
For anyone who came here from Google. On Ubuntu, this can be fixed by installing
libunwind-devpackage:sudo apt-get install -y libunwind-devwheel cannot load libunwind.so, wheel names them with a hash included…
planrich commentedon Nov 28, 2017
Can you try again with version 0.4.11.dev2? ($ pip install vmprof --pre). I tried on an ubuntu machine (32bit, 12.04) and it successfully loaded vmprof.so from the wheel.
Joeyscat commentedon Mar 3, 2021
On CentOS