[SciPy-user] build error for scipy-0.7.1 on CentOS 5

Karl Young karl.young@ucsf....
Mon Jul 20 15:18:33 CDT 2009

I get the following error when trying to build scipy-0.7.1 on 64 bit 
CentOS 5 (Linux 2.6.18-128.2.1.el5 #1 SMP x86_64 GNU/Linux):


gcc -pthread -shared 
-L/usr/local/lib -Lbuild/temp.linux-x86_64-2.5 -lumfpack -lamd 
-lptf77blas -lptcblas -latlas -o 
/usr/bin/ld: /usr/local/lib/libumfpack.a(umfpack_di_col_to_triplet.o): 
relocation R_X86_64_32 against `a local symbol' can not be used when 
making a shared object; recompile with -fPIC
/usr/local/lib/libumfpack.a: could not read symbols: Bad value
collect2: ld returned 1 exit status


I built UMFPACK (version 5.4.0) as per David's instructions on 
Specifically I checked that:

CC = gcc
CFLAGS = -O3 -fexceptions -m64 -fPIC
F77 = gfortran
F77FLAGS = -O -m64 -fPIC

were set in UFconfig/UFconfig.mk.

Has anybody seen this problem and know what to do about it ? Thanks,

-- KY

More information about the SciPy-user mailing list