-
Notifications
You must be signed in to change notification settings - Fork 521
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
ld returned 1 exit status, gcc failed with exit status 1 #851
Comments
@scarf I am not familiar with that error message, have you tried googling it? |
I did but not sure what it means. I think i could try adding "-fPIC" to the gcc command but do you know how to modify that part? |
I found a way to download h5py and i updated setup.py and added |
How is your HDF5 built/where do you get HDF5 from? |
I found we had an alias linking "python" to /usr/local/bin/python27 and so it wasn't using the right environment for the software channel python27. |
We are using CentOS 6.8 with python 2.7.8. I'm trying to install h5py with 'pip install h5py' but getting the errors:
"Failed building wheel for h5py"
"/usr/bin/ld: /usr/local/lib/libpython2.7.a(abstract.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC"
a problem with our gcc? the system's gcc is 4.4.7 but i also tried with 5.3.1 from the software collections and got same error... a problem with the python from software collections?
The text was updated successfully, but these errors were encountered: