You may have CFLAGS/CXXFLAGS defined, which override the distutils flags. Unset those (or append `-fPIC` to them)

David

On Wed, Dec 9, 2015 at 12:01 PM, Daπid <davidmenhur@gmail.com> wrote:
I have upgraded to Fedora 23, that includes the new binary ABI, so I decided to recompile my modules. I created a new virtualenv, updated pip and setuptools, and installed numpy and scipy with pip. The second one failed spitting:

/bin/ld: build/temp.linux-x86_64-2.7/libdfftpack.a(zffti1.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
    build/temp.linux-x86_64-2.7/libdfftpack.a: error adding symbols: Bad value
    collect2: error: ld returned 1 exit status

Find attached the full log. I am using GCC 5.1.1 and openBLAS 0.2.15.

For the record, Numpy's f2py tests are also failing.


_______________________________________________
SciPy-User mailing list
SciPy-User@scipy.org
https://mail.scipy.org/mailman/listinfo/scipy-user