[SciPy-user] scipy build with gcc on solaris problems

John Reid j.reid@mail.cryst.bbk.ac...
Mon Mar 3 05:16:08 CST 2008


Also when I import scipy.optimize I have the following error. Could 
easy_install be using the solaris CC compiler? Would this cause this 
problem?


In [6]: import scipy.optimize
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/usr/local/lib/python2.5/site-packages/<ipython console> in <module>()

/usr/local/lib/python2.5/site-packages/scipy-0.6.0-py2.5-solaris-2.10-sun4u.egg/scipy/optimize/__init__.py 
in <module>()
       9 from zeros import *
      10 from anneal import *
---> 11 from lbfgsb import fmin_l_bfgs_b
         global lbfgsb = undefined
         global fmin_l_bfgs_b = undefined
      12 from tnc import fmin_tnc
      13 from cobyla import fmin_cobyla

/usr/local/lib/python2.5/site-packages/scipy-0.6.0-py2.5-solaris-2.10-sun4u.egg/scipy/optimize/lbfgsb.py 
in <module>()
      28
      29 from numpy import zeros, float64, array, int32
---> 30 import _lbfgsb
         global _lbfgsb = undefined
      31 import optimize
      32

ImportError: ld.so.1: python: fatal: relocation error: file 
/usr/local/lib/python2.5/site-packages/scipy-0.6.0-py2.5-solaris-2.10-sun4u.egg/scipy/optimize/_lbfgsb.so: 
symbol etime_: referenced symbol not found




More information about the SciPy-user mailing list