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

mdekauwe mdekauwe@gmail....
Tue Feb 9 12:06:32 CST 2010


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

Now I am not sure to be honest what I am not doing. If it helps...
ldd -d /users/eow/mgdk/sun4u/lib/python/scipy/optimize/_lbfgsb.so
       
        libfsu.so.1 =>   /nerc/packages/studio/12.0/SUNWspro/lib/libfsu.so.1
        libsunmath.so.1 =>      
/nerc/packages/studio/12.0/SUNWspro/lib/libsunmath.so.1
        libf77compat.so.1 =>    
/nerc/packages/studio/12.0/SUNWspro/lib/libf77compat.so.1
        libmtsk.so.1 =>  /usr/lib/libmtsk.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        /usr/platform/SUNW,A70/lib/libc_psr.so.1
        symbol not found: PyCObject_Type               
(/users/eow/mgdk/sun4u/lib/python/scipy/optimize/_lbfgsb.so)
        symbol not found: PyExc_ImportError            
(/users/eow/mgdk/sun4u/lib/python/scipy/optimize/_lbfgsb.so)
        symbol not found: PyExc_RuntimeError           
(/users/eow/mgdk/sun4u/lib/python/scipy/optimize/_lbfgsb.so)
        symbol not found: PyString_Type        
(/users/eow/mgdk/sun4u/lib/python/scipy/optimize/_lbfgsb.so)
        symbol not found: _Py_NoneStruct               
(/users/eow/mgdk/sun4u/lib/python/scipy/optimize/_lbfgsb.so)
        symbol not found: PyInt_Type           
(/users/eow/mgdk/sun4u/lib/python/scipy/optimize/_lbfgsb.so)
        symbol not found: PyType_Type          
(/users/eow/mgdk/sun4u/lib/python/scipy/optimize/_lbfgsb.so)
        symbol not found: PyComplex_Type               
(/users/eow/mgdk/sun4u/lib/python/scipy/optimize/_lbfgsb.so)
        symbol not found: PyFloat_Type         
(/users/eow/mgdk/sun4u/lib/python/scipy/optimize/_lbfgsb.so)
        symbol not found: PyExc_MemoryError            
(/users/eow/mgdk/sun4u/lib/python/scipy/optimize/_lbfgsb.so)
        symbol not found: PyExc_ValueError             
(/users/eow/mgdk/sun4u/lib/python/scipy/optimize/_lbfgsb.so)
        symbol not found: PyExc_AttributeError         
(/users/eow/mgdk/sun4u/lib/python/scipy/optimize/_lbfgsb.so)
        symbol not found: PyExc_TypeError              
(/users/eow/mgdk/sun4u/lib/python/scipy/optimize/_lbfgsb.so)


any suggestions would be most appreciated. Many thanks.

Martin


-- 
View this message in context: http://old.nabble.com/Compiling-scipy-on-Solaris-tp27519446p27519446.html
Sent from the Scipy-User mailing list archive at Nabble.com.



More information about the SciPy-User mailing list