easyaccess icon indicating copy to clipboard operation
easyaccess copied to clipboard

fitsio requires glibc v2.14

Open kadrlica opened this issue 8 years ago • 5 comments

The fitsio v0.9.8 dependency of easyaccess appears to have been built with glibc v2.14. Scientific Linux 6.7 (Fermilab cluster operating system), only has glibc v2.12 and I get the following error trying to import fitsio:

>>> import fitsio
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/s1/kadrlica/.conda/envs/fitsio/lib/python2.7/site-packages/fitsio/__init__.py", line 9, in <module>
    from . import fitslib
  File "/home/s1/kadrlica/.conda/envs/fitsio/lib/python2.7/site-packages/fitsio/fitslib.py", line 29, in <module>
    from . import _fitsio_wrap
ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/s1/kadrlica/.conda/envs/fitsio/lib/python2.7/site-packages/fitsio/_fitsio_wrap.so)

This issue cannot be solved as easily as a:

conda install glibc=2.19 -c asmeurer

because conda was built with the older version of glibc and installing a newer version leads to errors and seg faults like:

/home/s1/kadrlica/.conda/envs/fitsio/bin/.openssl-post-link.sh: line 7: 1460654 Segmentation fault      $PREFIX/bin/.openssl-libcrypto-fix $PREFIX
Error: Error: post-link failed for: openssl-1.0.2j-0 

The proposed solution would be to re-build fitsio with an older version of glibc.

kadrlica avatar Nov 02 '16 05:11 kadrlica