<br><br><div><span class="gmail_quote">On 1/3/07, <b class="gmail_sendername">Nils Wagner</b> <<a href="mailto:nwagner@iam.uni-stuttgart.de">nwagner@iam.uni-stuttgart.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br><br>I have tried to build the latest numpy on a 64-bit machine<br>using OpenSuSE10.2.<br>I have build BLAS, LAPACK and ATLAS from scratch (g77).<br><br>python setup.py build yields<br><br>...<br>creating build/temp.linux-x86_64-
2.5/numpy/linalg<br>compile options: '-DATLAS_INFO="\"3.7.11\""<br>-Inumpy/core/include<br>-Ibuild/src.linux-x86_64-2.5/numpy/core -Inumpy/core/src<br>-Inumpy/core/include -I/usr/include/python2.5 -c'
<br>gcc: numpy/linalg/lapack_litemodule.c<br>/usr/bin/g77 -g -Wall -shared<br>build/temp.linux-x86_64-2.5/numpy/linalg/lapack_litemodule.o<br>-L/usr/local/lib/atlas -L/usr/lib/python2.5/config<br>-llapack -lf77blas -lcblas -latlas -
lpython2.5 -lg2c -o<br>build/lib.linux-x86_64-2.5/numpy/linalg/lapack_lite.so<br>/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld:<br>cannot find -lgcc_s<br>/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld:
<br>cannot find -lgcc_s<br>error: Command "/usr/bin/g77 -g -Wall -shared<br>build/temp.linux-x86_64-2.5/numpy/linalg/lapack_litemodule.o<br>-L/usr/local/lib/atlas -L/usr/lib/python2.5/config<br>-llapack -lf77blas -lcblas -latlas -
lpython2.5 -lg2c -o<br>build/lib.linux-x86_64-2.5/numpy/linalg/lapack_lite.so"<br>failed with exit status 1<br><br>Any pointer how to fix this problem is appreciated.<br><br>Nils<br><br>g77 -v<br>Reading specs from<br>
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/specs<br>Configured with: ../configure --enable-threads=posix<br>--prefix=/usr --with-local-prefix=/usr/local<br>--infodir=/usr/share/info --mandir=/usr/share/man<br>--enable-languages=c,f77 --disable-checking
<br>--libdir=/usr/lib64 --disable-libgcj --with-slibdir=/lib64<br>--with-system-zlib --enable-shared --enable-__cxa_atexit<br>x86_64-suse-linux<br>Thread model: posix<br>gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
<br>nwagner@noname:~/svn/numpy> gcc -v<br>Using built-in specs.<br>Target: x86_64-suse-linux<br>Configured with: ../configure --enable-threads=posix<br>--prefix=/usr --with-local-prefix=/usr/local<br>--infodir=/usr/share/info --mandir=/usr/share/man
<br>--libdir=/usr/lib64 --libexecdir=/usr/lib64<br>--enable-languages=c,c++,objc,fortran,obj-c++,java,ada<br>--enable-checking=release<br>--with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-ssp<br>--disable-libssp --disable-libgcj --with-slibdir=/lib64
<br>--with-system-zlib --enable-shared --enable-__cxa_atexit<br>--enable-libstdcxx-allocator=new --program-suffix=-4.1<br>--enable-version-specific-runtime-libs<br>--without-system-libunwind --with-cpu=generic<br>--host=x86_64-suse-linux
<br>Thread model: posix<br>gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)</blockquote><div><br>You might check the location of python. ISTR that SUSE puts it in /usr/local/lib, or maybe it is in one of the lib64 directories if you are running 64 bit linux. In any case, the directories -L/usr/local/lib/atlas -L/usr/lib/python2.5/config look suspicious to me. Apart from that I don't have any suggestions.
<br><br>Chuck<br></div><br></div><br>