Unable to run quspin without GLIBC_2.17
See original GitHub issueI have installed quspin in my institute cluster, to which I don’t have administrator privileges. I have created a virtual environment in the conda and installed quspin in it. Once I try to run “python example0.py” I am getting this error.
python: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by python)
python: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by python)
python: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by python)
I tried to install GLIBC-2.18 in my local directory and added it to LD_LIBRARY_PATH. After that ls, ssh, and many such basic functions are giving
Segmentation fault (core dumped).
I understood that GCC and this version of GLIBC are clashing. I have found this answer, https://stackoverflow.com/a/44710599which suggested to use, patchelf, I tried installing using the steps in the, https://github.com/NixOS/patchelf which gave build-id.sh failed error in the “make check” stage.
I want to know while compiling CPP code or C code, one can use, -Wl, --rpath="/local/lib"
, is there a way to do the same with python. Please help with what to do to run the quspin code.
- OS: Distributor ID: CentOS Description: CentOS release 6.7 (Final) Release: 6.7 Codename: Final
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top GitHub Comments
This looks weird; are you sure it’s not an issue with your python/conda installation?
Have you tried installing miniconda from scratch in your local cluster home directory?
The conda version of quspin uses precompiled CPP libraries so I guess any issues with glib are related to your local conda/python installation or environment.
Maybe it’s worthwhile to contact the cluster administrator?
On Fri, Aug 6, 2021, 10:54 PM Ganesh Chandra Lakkaraju < @.***> wrote:
new release is out; I’m closing this issue.