libscalene.so included in scalene v1.1.1 requires more recent glibc when running on CentOS 7.8
See original GitHub issueWhen trying scalene
v1.1.1 (installed from source with pip install .
, but I don’t think that matters since libscalene.so
is included in the source tarball), I’m getting this:
python3: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /.../lib/python3.6/site-packages/scalene/libscalene.so)
The issue here boils down to libscalene.so
being compiled on an Linux OS that has a more recent glibc than is used in CentOS 7.8 (which is glibc 2.17).
Is there a specific reason why libscalene.so
is packaged into the source tarball, as opposed to compiling it from source when scalene is being installed from source?
I’m happy to try and compile libscalene.so
from source myself, but there doesn’t seem to be any documentation available on that. I found heaplayers-make.mk which suggests that clang++
is needed (is that a strict requirement, or would a sufficiently recent g++
also work?), and that some source code from https://github.com/emeryberger/Heap-Layers is required as well.
Issue Analytics
- State:
- Created 3 years ago
- Comments:20 (11 by maintainers)
Top GitHub Comments
Right now, the only way that seems like it should work is building on Ubuntu 16.04. I just pushed a new version (1.10) with such a build: works on Ubuntu 16 & 20, plus WSL2. Hopefully this finally gets the job done.
This is resolved, the profiling is working.