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

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


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