[SciPy-User] scipy 0.13 on Maverick

Ralf Gommers ralf.gommers at gmail.com
Sun Nov 10 05:07:43 EST 2013


On Fri, Nov 8, 2013 at 5:39 PM, Kyle Mandli <kyle.mandli at gmail.com> wrote:

> Have you tried a different gcc version?  It looks like you might be using
> 4.9.
>
> On Wed, Nov 6, 2013 at 5:46 PM, Doutriaux, Charles <doutriaux1 at llnl.gov>
> wrote:
> > Hello,
> >
> > I’m trying to build scipy on Maverick (Apple latest OS)
> >
> > When running
> > python setup.py install
> >
> > I get:
> >
> > 8463 /usr/local/bin/gfortran -Wall -Wall -undefined dynamic_lookup
> -bundle
> >
> build/temp.macosx-10.4-x86_64-2.7/build/src.macosx-10.4-x86_64-2.7/scipy/fftpack/_fftpac
> > kmodule.o build/temp.macosx-10.4-x86_64-2.7/scipy/fftpack/src/zfft.o
> > build/temp.macosx-10.4-x86_64-2.7/scipy/fftpack/src/drfft.o
> > build/temp.macosx-10.4-x86_64     -2.7/scipy/fftpack/src/zrfft.o
> > build/temp.macosx-10.4-x86_64-2.7/scipy/fftpack/src/zfftnd.o
> > build/temp.macosx-10.4-x86_64-2.7/build/src.macosx-10.4-x86_64-2.7
> > /scipy/fftpack/src/dct.o
> >
> build/temp.macosx-10.4-x86_64-2.7/build/src.macosx-10.4-x86_64-2.7/scipy/fftpack/src/dst.o
> > build/temp.macosx-10.4-x86_64-2.7/build/sr
> > c.macosx-10.4-x86_64-2.7/fortranobject.o
> > -L/usr/local/lib/gcc/x86_64-apple-darwin13.0.0/4.9.0
> > -Lbuild/temp.macosx-10.4-x86_64-2.7 -ldfftpack -lfftpack -lgfort     ran
> -o
> > build/lib.macosx-10.4-x86_64-2.7/scipy/fftpack/_fftpack.so
> >
> > 8464 ld: library not found for -lbundle1.o
> >
> > 8465 collect2: error: ld returned 1 exit status
> >
> > 8466 ld: library not found for -lbundle1.o
> >
> > 8467 collect2: error: ld returned 1 exit status
> >
> >
> > But if I copy paste this command and run it straight from the command
> line,
> > it works.
> >
> > Any idea what’s going on?
> >
> > PS. I tried Python 2.7.4 and 2.7.5
>

Works for me on 10.9. There are a lot of ways to install Python and
compilers on OS X, so to be able to reproduce your issue we need to know:
- how you installed Python
- XCode version
- compiler versions
- where you got gfortran from
- numpy version

In the traceback the 10.4 in "macosx-10.4-x86_64" could be wrong, do you
have MACOSX_DEPLOYMENT_TARGET set somewhere?

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20131110/34dc6eb5/attachment.html>


More information about the SciPy-User mailing list