here is one concrete example: "extra_link_args" in src/build/cythonized/sage/ext/interpreters/wrapper_cdf.c has "-lpari" in it.
Where is this specified? Note that this C file is apparently generated from src/sage/ext/interpreters/wrapper_cdf.pyx which is "Automatically generated by /usr/home/dima/Sage/sage/src/sage_setup/autogen/interpreters.py" (apparently from thin air :-)) (IMHO my problem will be solved if I find out how to add '-lm' next to that '-lpari') Thanks, Dima On Monday, March 27, 2017 at 4:42:40 PM UTC+1, Dima Pasechnik wrote: > > On #22679 I am getting errors like > > import sage.ext.interpreters.wrapper_cdf > ImportError: > /usr/home/dima/Sage/sage/local/lib/python2.7/site-packages/sage/ext/interpreters/wrapper_cdf.so: > > Undefined symbol "cpow" > > Here cpow should come from cephes package, which creates > SAGE_LOCAL/lib/libm.so > ---but it does not. > Where does one set up linking options for C/C++ code that goes into > sagelib? > (in this case, for src/sage/ext/interpreters/interp_cdf.c) > This does not seem to be documented anywhere. > > Thanks, > Dima > > > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.