Scipy build: _cephes.so linked with libraries in wrong order
pv opened this issue · 4 comments
pv commented
Currently, when building Scipy with bento, the _cephes.so
extension is linked so that -lgfortran
comes before the -lsc_*
static libraries. This apparently causes some symbols to go missing; adding -lgfortran
to the end of the link stanza fixes the issue. I'm not sure if this is a waf or Bento bug.
rgommers commented
CC'ing myself
cournape commented
Hi Pauli,
I finally took the time to implement a simple ordered link tool in Waf to fix this. Can you try the last bento and scipy master (you will also need a fairly recent waf), and make sure this works for you ?
pv commented
Yep, seems to be working now. The waf_tools
aren't installed automatically anywhere, though.