[SciPy-User] [SciPy-user] Compiling scipy on Solaris

David Cournapeau david@silveregg.co...
Tue Feb 9 19:22:36 CST 2010


mdekauwe wrote:
> Hi,
> 
> I am trying to install the latest scipy libraries and whilst everything (i
> think) builds without issues I have encountered some relocation issues
> finding libraries.
> 
> A number of the basic functionalities work find e.g.
> 
> import scipy
> 
> a = scipy.arange(10)
> 
> However 
> 
> if I tried to import something from the optimise library, for example 
> 
> from scipy.optimize import leastsq
> 
> ImportError: ld.so.1: python: fatal: relocation error: file
> /users/eow/mgdk/sun4u/lib/python/scipy/optimize/_lbfgsb.so: symbol etime_:
> referenced symbol not found

Most likely, that's the problem. Etime is a function which depending on 
your toolchain, is an intrinsic or not.

Could you provide us a build log ? Which fortran compiler and which 
LAPACK are you using (it does not look like you are using the sun 
performance library) ?

cheers,

David


More information about the SciPy-User mailing list