[Pythonmac-SIG] Compiling Scipy/available binaries for Universal Python 2.4?

David Warde-Farley david.warde.farley at utoronto.ca
Thu Jan 11 17:48:14 CET 2007


I should point out that I just installed the distributed fat binaries  
after installing the absolute latest Universal Python, and I still  
get this error.

dwf at morrislab:/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages$ python
Python 2.4.4 (#1, Oct 18 2006, 10:34:39)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> from scipy import sparse
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/scipy/sparse/__init__.py", line 5, in ?
     from sparse import *
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/scipy/sparse/sparse.py", line 12, in ?
     import sparsetools
ImportError: Failure linking new module: scipy/sparse/sparsetools.so:  
Symbol not found: _fprintf$LDBLStub
   Referenced from: scipy/sparse/sparsetools.so
   Expected in: dynamic lookup


On 11-Jan-07, at 11:32 AM, David Warde-Farley wrote:

> When I compile Numpy & Scipy from source (on a G5 running 10.4.8) I  
> run into these sorts of snags:
>
> >>> from scipy import sparse
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/site-packages/scipy/sparse/__init__.py", line 5, in ?
>     from sparse import *
>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/site-packages/scipy/sparse/sparse.py", line 12, in ?
>     import sparsetools
> ImportError: Failure linking new module: /Library/Frameworks/ 
> Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/ 
> sparse/sparsetools.so: Symbol not found: _fprintf$LDBLStub
>   Referenced from: /Library/Frameworks/Python.framework/Versions/ 
> 2.4/lib/python2.4/site-packages/scipy/sparse/sparsetools.so
>   Expected in: dynamic lookup
>
> Originally there were problems with libg2c.a and such, solved by  
> putting symlinks in /usr/local/lib to those libraries as offered by  
> the HPC g77 distribution. I can't seem to figure out how to get  
> around this, nor can I find a binary distribution of scipy. Any help?
>
> Dave



More information about the Pythonmac-SIG mailing list