[SciPy-user] Numpy/Scipy on AIX

David Cournapeau david at ar.media.kyoto-u.ac.jp
Fri Jul 27 07:06:59 EDT 2007


Marek Wojciechowski wrote:
> Hi!
> I trying to instal numpy and scipy on AIX 5.3. Unfortunately, running
> numpy's setup.py finished with error:
>
> building 'numpy.core._dotblas' extension
> compiling C sources
> C compiler: cc_r -DNDEBUG -O
>
> creating build/temp.aix-5.3-2.5/numpy/core/blasdot
> compile options: '-DNO_ATLAS_INFO=1 -Inumpy/core/blasdot
> -Inumpy/core/include -Ibuild/src.aix-5.3-2.5/numpy/core -Inumpy/core/src
> -Inumpy/core/include -I/home/Marek/apython/include/python2.5 -c'
> cc_r: numpy/core/blasdot/_dotblas.c
> xlf95 -bshared -F/tmp/tmpwQurYM_xlf.cfg
> build/temp.aix-5.3-2.5/numpy/core/blasdot/_dotblas.o -L/usr/lib -lblas -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/tmp/tmpwQurYM_xlf.cfg
> build/temp.aix-5.3-2.5/numpy/core/blasdot/_dotblas.o -L/usr/lib -lblas -o
> build/lib.aix-5.3-2.5/numpy/core/_dotblas.so" failed with exit status 8
>
> Is there any easy solution for this?
Do you know which option is needed normally for compiling shared 
libraries on AIX ? The problem seems to be a missing symbol, .main, 
which I supposed is the main function, which is not supposed to be there 
for extensions.

David



More information about the SciPy-User mailing list