[SciPy-user] RE : RE : Compiling numpy and scipy on AIX 5.3

Langella Raphael raphael.langella@steria.cnes...
Wed Apr 4 09:37:16 CDT 2007


> -----Message d'origine-----
> De : scipy-user-bounces@scipy.org 
> [mailto:scipy-user-bounces@scipy.org] De la part de David M. Cooke
> Envoyé : mercredi 4 avril 2007 15:00
> À : SciPy Users List
> Objet : Re: [SciPy-user] RE : Compiling numpy and scipy on AIX 5.3
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Langella Raphael wrote:
> > 
> > IBM XL Fortran Enterprise Edition V10.1 for AIX
> > Version: 10.01.0000.0003
> > 
> > Now numpy detects the compiler. Then, I set BLAS and LAPACK 
> > environnement variables, and I get this when compiling numpy :
> >
> > xlf95 -bshared -F/ptmp/tmp4WLhqo_xlf.cfg 
> > build/temp.aix-5.3-2.5/numpy/core/blasdot/_dotblas.o 
> -L/usr/local/lib -lfblas -o 
> build/lib.aix-5.3-2.5/numpy/core/_dotblas.so
> > ld: 0711-317 ERROR: Undefined symbol: .main
> > ld: 0711-345 Use the -bloadmap or -bnoquiet option to 
> obtain more information.
> > ld: 0711-317 ERROR: Undefined symbol: .main
> > ld: 0711-345 Use the -bloadmap or -bnoquiet option to 
> obtain more information.
> > error: Command "xlf95 -bshared -F/ptmp/tmp4WLhqo_xlf.cfg 
> build/temp.aix-5.3-2.5/numpy/core/blasdot/_dotblas.o 
> -L/usr/local/lib -lfblas -o 
> build/lib.aix-5.3-2.5/numpy/core/_dotblas.so" failed with 
> exit status 8
> 
> AIX is a royal PITA when it comes to making shared libraries. 
> Really, it's awful. You need to make a file of imported 
> symbols first, and pass that to the linker command.
> 
> Fortunately, Python includes an ld_so_aix script to do this. 
> Try the current Numpy SVN; I've tried to make it use this.

I'd love to try the SVN version, but :

$ svn co http://svn.scipy.org/svn/numpy/trunk numpy
svn: PROPFIND request failed on '/svn/numpy/trunk'
svn: PROPFIND of '/svn/numpy/trunk': 500 Server Error (http://svn.scipy.org)

Am I missing something or is it a server problem as the error message suggests ?


More information about the SciPy-user mailing list