[SciPy-User] building numpy 1.6.0 on cygwin: collect2: ld returned 1 exit status

Ralf Gommers ralf.gommers at googlemail.com
Mon May 16 13:50:27 EDT 2011


On Sun, May 15, 2011 at 9:25 PM, Klonuo Umom <klonuo at gmail.com> wrote:

> I installed Cygwin on XP with compilers, make etc and then build LAPACK,
> after which I build ATLAS.
>
> Got numpy:
> =======================================================================
> svn co http://svn.scipy.org/svn/numpy/trunk numpy
> -----------------------------------------------------------------------
>
> Edited site.cfg:
> =======================================================================
> [DEFAULT]
> # this where my atlas and lapack libs are:
> library_dirs = /usr/local/lib
> include_dirs = /usr/local/include
>
> [blas_opt]
> libraries = f77blas, cblas, atlas
> #
> [lapack_opt]
> libraries = lapack, f77blas, cblas, atlas
> -----------------------------------------------------------------------
>
> Run:
> =======================================================================
> python setup.py build
> -----------------------------------------------------------------------
>
> Got this error:
> =======================================================================
> collect2: ld returned 1 exit status
> error: Command "/usr/bin/g77 -g -Wall -g -Wall -shared
> build/temp.cygwin-1.7.9-i686-2.6/numpy/linalg/lapack_litemodule.o
> build/temp.cygwin-1.7.9-i686-2.6/numpy/linalg/python_xerbla.o
> -L/usr/local/lib
> -L/usr/lib/gcc/i686-pc-cygwin/3.4.4
> -L/usr/lib/python2.6/config
> -Lbuild/temp.cygwin-1.7.9-i686-2.6
> -llapack -lf77blas -lcblas -latlas -lpython2.6 -lg2c -o
> build/lib.cygwin-1.7.9-i686-2.6/numpy/linalg/lapack_lite.dll" failed with
> exit status 1
> -----------------------------------------------------------------------
>
> Am I missing some package?
>
> That doesn't look familiar, but you shouldn't need g77 for building numpy.
Can you post the complete build log?

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20110516/9a61b066/attachment.html>


More information about the SciPy-User mailing list