[SciPy-User] pip install scipy: error adding symbols: bad value

David Cournapeau cournape at gmail.com
Wed Dec 9 11:11:37 EST 2015


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 at 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 at scipy.org
> https://mail.scipy.org/mailman/listinfo/scipy-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20151209/6f343680/attachment.html>


More information about the SciPy-User mailing list