cournape/Bento

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.

CC'ing myself

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.

I indeed forgot to add waf_tools to the package. Should be fixed in 2c7d8c6