[SciPy-user] Fwd: Building scipy with lround

Nicolas Vergnes nicolas.wolfhurt@gmail....
Wed Jan 7 01:47:15 CST 2009


Hello

I have build Scipy-0.7.0b1 on sparc Solaris 9 with FFTW , BLAS and LAPACK in
static

When I use it I have this error message :

Python 2.6.1 (r261:67515, Dec 26 2008, 13:02:49)
[GCC 4.3.2] on sunos5
>>> import numpy
>>> import scipy
>>> import scipy.interpolate
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File
"/Produits/publics/sparc.SunOS.5.9/python/2.6/lib/python2.6/site-packages/scipy/interpolate/__init__.py",
line 7, in <module>
    from interpolate import *
  File
"/Produits/publics/sparc.SunOS.5.9/python/2.6/lib/python2.6/site-packages/scipy/interpolate/interpolate.py",
line 13, in <module>
    import scipy.special as spec
  File
"/Produits/publics/sparc.SunOS.5.9/python/2.6/lib/python2.6/site-packages/scipy/special/__init__.py",
line 8, in <module>
    from basic import *
  File
"/Produits/publics/sparc.SunOS.5.9/python/2.6/lib/python2.6/site-packages/scipy/special/basic.py",
line 8, in <module>
    from _cephes import *
ImportError: ld.so.1: python: fatal: relocation error: file
/Produits/publics/sparc.SunOS.5.9/python/2.6/lib/python2.6/site-packages/scipy/special/_cephes.so:
symbol lround: referenced symbol not found

calc-gen5-ci:/Produits/tmp/nicolas/python $ ldd
/Produits/publics/sparc.SunOS.5.9/python/2.6/lib/python2.6/site-packages/scipy/special/_cephes.so
        libgfortran.so.3 =>
/Produits/publics/sparc.SunOS.5.9/gcc/4.3.2/lib/libgfortran.so.3
        libm.so.1 =>     /usr/lib/libm.so.1
        libgcc_s.so.1 =>
/Produits/publics/sparc.SunOS.5.9/gcc/4.3.2/lib/libgcc_s.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        /usr/platform/SUNW,Sun-Fire-V890/lib/libc_psr.so.1


I think /usr/lib/libm.so dont have lround()  on Solaris 9 ( on solaris 10 i
pretty sure that's ok )

how can I compile Scipy correctly please ?

thank you all,

Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20090107/19026ee8/attachment-0001.html 


More information about the SciPy-user mailing list