vmprof-python icon indicating copy to clipboard operation
vmprof-python copied to clipboard

`cannot find -lunwind` again

Open allefeld opened this issue 6 years ago • 0 comments

I tried to install vmprof using pip 19.1.1 in a Miniconda installation (conda 4.5.12) under Debian 9.9.

Installation fails with the error message ld: cannot find -lunwind.

I was able to get the installation to work by installing the Debian packages linunwind8 and libunwind-dev.

I'm aware that there is a similar issue that has been closed, but obviously the problem persists.

At the very least, the documentation should be changed:

Do I need to install libunwind?: Usually not. We ship python wheels that bundle libunwind shared objects. If you install vmprof from source, then you need to install the development headers of your distribution. OSX ships libunwind per default. If your pip version is really old it does not pull wheels and it will end up compiling from source.

I am using the current version of pip, I didn't install from source, and I still had to install the development package of libunwind.

allefeld avatar May 14 '19 16:05 allefeld