[SciPy-user] Plea: Installing SciPy on Mac 10.4.9: _fftpack.so problems?
Thu Mar 15 14:07:26 CDT 2007
Hot darn Batman - you nailed it!!
On Mar 15, 2007, at 12:58 PM, Robert Kern wrote:
> Lawrence David wrote:
>> Hi there,
>> I'm pulling the little hair I have out trying to install SciPy on
>> my G4
>> PPC running OS 10.4.9.
>> I've followed the instructions on the SciPy.org
>> website: http://www.scipy.org/Installing_SciPy/Mac_OS_X. I've got
>> 4.0.1 and gfortran (gnu95 -> 4.3).
>> Running build: "python setup.py build_src build_clib --
>> build_ext --fcompiler=gnu95 build", yields a long error message that
>> terminates with a litany of "Undefined symbols" and this last
>> collect2: ld returned 1 exit status
>> error: Command "/usr/local/bin/gfortran -L/sw/lib
>> -L/usr/local/lib -L/usr/local/lib/gcc/powerpc-apple-darwin8.8.0/4.3.0
>> -Lbuild/temp.macosx-10.3-fat-2.5 -ldfftpack -lfftw3 -lgfortran -o
>> build/lib.macosx-10.3-fat-2.5/scipy/fftpack/_fftpack.so" failed with
>> exit status 1
>> I've noticed several other folks have had similar error messages
>> on this
>> board, but none of the posted solutions worked for me. If anyone
>> offer any suggestions on what to try, I'd love to hear them!
> It looks like you have LDFLAGS defined (thus, the -L/sw/lib). That
> all of the Python-specific linker flags that distutils provides.
>> (I've even tried installing the SuperPack binary, which lies
>> through its
>> teeth when it says that it's installed correctly; import scipy still
>> fails. Perhaps my problem is that I'm using gfortran? Can anyone
>> me how to revert to g77?)
> You can't with a Universal Python. It needs gcc 4, which requires
> gfortran, not g77.
> Robert Kern
> "I have come to believe that the whole world is an enigma, a
> harmless enigma
> that is made terrible by our own mad attempt to interpret it as
> though it had
> an underlying truth."
> -- Umberto Eco
> SciPy-user mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-user