[SciPy-dev] newscipy build problem

Robert Cimrman cimrman3 at ntc.zcu.cz
Mon Oct 10 11:42:38 CDT 2005


Stephen Walton wrote:
> Robert Cimrman wrote:
> 
> 
>>ImportError: /usr/lib/python2.3/site-packages/scipy/lib/lapack_lite.so: 
>>undefined symbol: s_wsfe
>> 
>>
> 
> This is a symbol from the g2c library which is supposed to be part of 
> g77.  Rebuild newscipy, redirectiing the output to a file, and  post the 
> line which shows how lapack_lite.so is linked.  Grep'ping the output for 
> the string "-o lapack_lite.so" should find it.  What versions of gcc and 
> g77 do you have?  That is, what is the output of 'g77 -v' and 'gcc -v'?  
> Do you have gfortran?

I have gcc+g77, version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8), 
no gfortran.

The output I posted is all I get after doing 'python setup.py build' in 
'newscipy'. the 
'/usr/lib/python2.3/site-packages/scipy/lib/lapack_lite.so' file is 
created when installing 'newcore', where the relevant lines say
--
building extension "scipy.lib.lapack_lite" sources
   adding 'scipy/corelib/lapack_lite/lapack_litemodule.c' to sources.
--

r.




More information about the Scipy-dev mailing list