[sage-devel] linker options for C code in ext/interpreters and other stuff in sagelib

2017-03-27 Thread Dima Pasechnik
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/li

Re: [sage-devel] linker options for C code in ext/interpreters and other stuff in sagelib

2017-03-28 Thread Francois Bissey
> On 28/03/2017, at 21:04, Dima Pasechnik wrote: > > > > On Tuesday, March 28, 2017 at 8:32:53 AM UTC+1, Jeroen Demeyer wrote: > On 2017-03-27 23:15, François Bissey wrote: > > The generated sage/ext/interpreters/wrapper_cdf.pxd has the following > > statement: > > cimport sage.libs.cypari2

Re: [sage-devel] linker options for C code in ext/interpreters and other stuff in sagelib

2017-03-28 Thread Francois Bissey
> On 28/03/2017, at 21:07, Francois Bissey > wrote: > >> Does such "#distutils: libraries = blah " automatically imply that libblah >> from $SAGE_LOCAL/lib/ will be linked? >> > > Unless you add -L$some_path, it should be the first one tried. If it is not > found or > incompatible, system

Re: [sage-devel] linker options for C code in ext/interpreters and other stuff in sagelib

2017-03-28 Thread Dima Pasechnik
On Tuesday, March 28, 2017 at 9:13:13 AM UTC+1, François wrote: > > > > On 28/03/2017, at 21:07, Francois Bissey > wrote: > > > >> Does such "#distutils: libraries = blah " automatically imply that > libblah from $SAGE_LOCAL/lib/ will be linked? > >> > > > > Unless you add -L$some_path, i