New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GLIBC version on error when try to build against numpy on rhel5 #20
Comments
Hi @davidslac, sorry to hear you are having trouble. Yes, you have assumed correctly. conda-forge builds on CentOS 6 instead of CentOS 5 (though CentOS 7, equivalent or newer versions of RHEL, Scientific Linux and most other supported Linux versions work fine), which means that the required GLIBC verion will not be met by CentOS 5. The source for the Docker image used to do this can be found here. Also, it can be acquired by running That being said, you're more than welcome to use our sources to build. All of them can be acquired via the feedstocks repo, which uses git submodules to collect them together. The I'm closing this a won't fix as it is a consequence of our choice of supported platform. Though please feel free to ask more questions about how to build from source. |
To build |
I have seen hash issues like you have mentioned above in this issue ( ContinuumIO/anaconda-issues#860 ). Though it was with a different hash type. Is it possible you are using an older version of Miniconda? |
Thank you for all the quick feedback - sounds like a good decision to drop rhel5 support, we'd like to drop it but can't for the time being - however we should only have a limited number of users on rhel5, so we I think we can use the conda-forge numpy for most of our users. Thanks also for the link to the docker image for the build machine. best, David Schneider From: jakirkham [notifications@github.com] I have seen hash issues like you have mentioned above in this issue ( ContinuumIO/anaconda-issues#860ContinuumIO/anaconda-issues#860 ). Though it was with a different hash type. Is it possible you are using an older version of Miniconda? � |
Should you need it, there's also a CentOS 5 docker image with GCC 5.2: https://hub.docker.com/r/continuumio/conda_builder_linux/ The implication of using that GCC is that you need to list the libgcc package from defaults as a runtime dependency, or otherwise ship libstdc++ from that docker image, because it is almost certainly newer than the system libraries you have and your C++-based software may not run without it. We (conda forge and continuum) are working on a new compiler stack for Mac and Linux, but this is what we have for now. Either a DIY docker image with devtoolset-2 (the manylinux docker image would work well), or this Continuum-provided docker image. |
Thanks, for the time being I'm maintain separate miniconda installs for rhel5, rhel6 and rhel7, I'd like to build once with more recent technology, like a newer gcc, but keep running into issues. The last one, was building openmpi on rhel5 using, I think it was a conda package for GCC 4.8. I got a whole bunch of duplicate linker symbols - it must have been that something was still pulling in system libraries and it was colliding with the newer stdc I was trying to incorporate - anyways, build engineering - not trivial :) |
I was having so much trouble with numpy from defaults, with the whole MKL issue, certain components wouldn't load, then I heard about conda-forge, numpy from conda-forge has been working well, except, now I am trying to build h5py from source and I am getting an error on rhel5, but not rhel6 and rhel7, it works fine on red hat 6 and 7. Im not sure yet if this is an issue with how I am building h5py, but I suspect conda-forge numpy was not build to work on rhel5? The build machine is CentOS6?
When I tried to build h5py using the conda-forge numpy, at some point, I get
ImportError: /lib64/libc.so.6: version `GLIBC_2.10' not found (required by /reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel5/envs/_build/lib/python2.7/site-packages/numpy/core/multiarray.so)
Can numpy be adjusted so that it has the dependencies needed to run on rhel5, or has the community decided rhel5 is too old to support?
Again, it might be my problem, earlier in the build I get errors like this:
The text was updated successfully, but these errors were encountered: