[Numpy-discussion] Trouble building NumPy on 64bit Ubuntu Linux

Rudolph van der Merwe rudolphv at gmail.com
Fri Mar 17 00:15:00 EST 2006


Matthew,

I see your scripts and Makefiles are optimized for a 64 bit P4
architecture. I'm running on a 64 bit AMD Opteron system though.

Thanks
Rudolph


On 3/16/06, Matthew Brett <matthew.brett at gmail.com> wrote:
> Hi,
>
> > /usr/bin/g77 -shared
> > build/temp.linux-x86_64-2.4/numpy/linalg/lapack_litemodule.o
> > -L/usr/local/lib/atlas -llapack -lptf77blas -lptcblas -latlas
> > -lg2c-pic -o build/lib.linux-x86_64-2.4/numpy/linalg/lapack_lite.so
> > /usr/bin/ld: /usr/local/lib/atlas/liblapack.a(dlamch.o): relocation
> > R_X86_64_32S can not be used when making a shared object; recompile
> > with -fPIC
>
> I wonder if you built the lapack libraries with the -fPIC flag though?
>  I've attached my build scripts for atlas, the include make file for
> the lapack libraries, and a python script to combine them - I am
> wondering if you need the modified include make file, which should
> somehow end up in your LAPACK directory as make.inc (see the
> build_full.py script).
>
> Best,
>
> Matthew
>
>
>


--
Rudolph van der Merwe




More information about the NumPy-Discussion mailing list