[Numpy-discussion] Problems compiling against ATLAS on x86_64

Matt Hyclak hyclak at math.ohiou.edu
Thu Feb 3 06:47:38 CST 2005


I'm about ready to pull out my hair trying to get this stuff to compile for
a faculty member. I'm running RHEL 3 AS on a dual opteron machine. ATLAS
compiles fine as I go through xconfig, but I can't for the life of me get
Numeric to compile against it. I've tried ATLAS 3.6.0 and 3.7.8. I'm
trying to build Numeric 23.7. I keep getting the following error:

gcc -shared build/temp.linux-x86_64-2.2/lapack_litemodule.o
-L/usr/lib64/atlas -llapack -lcblas -lf77blas -latlas -lg2c -o
build/lib.linux-x86_64-2.2/lapack_lite.so
/usr/bin/ld: /usr/lib64/atlas/liblapack.a(dgesv.o): relocation R_X86_64_32
can not be used when making a shared object; recompile with -fPIC
/usr/lib64/atlas/liblapack.a: could not read symbols: Bad value
collect2: ld returned 1 exit status

I built ATLAS with -fPIC, but that didn't seem to help. Could someone
*please* point me in the right direction before I start hitting things?

Thanks!

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263






More information about the Numpy-discussion mailing list