[SciPy-user] scipy fblas.so functions not found

Lev Givon lev at columbia.edu
Thu Jun 14 15:32:11 EDT 2007


Received from Charlie Yanaitis on Thu, Jun 14, 2007 at 12:39:53PM EDT:
> Lev,

(snip)

> > I neglected to mention that Fedora also includes an atlas rpm that you
> > might want to try rebuilding on RHEL instead of the lapack package.
> > 
> > 							L.G.
> > 
>  
> Thanks for the advice. I went ahead and got the atlas libraries for
> Linux_HAMMER64SSE2, put the libraries in place and got the following
> error when building scipy-0.5.2: 
> 
> /usr/bin/ld: /usr/local/lib/libf77blas.a(dscal.o): relocation R_X86_64_PC32
> against `atl_f77wrap_dscal__' can not be used when making a shared object;
> recompile with -fPIC
> 
> The above error is what has stymied me with the Atlas version all
> along. I even got the source code for Atlas and tried to build it
> myself with gcc, with -fPIC.  Here's the lines in the Makefile:
> 
> SHELL = /bin/sh
> CC = gcc
> NM = -o
> OJ = -c
> F77 = /usr/bin/g77
> F77FLAGS = -fomit-frame-pointer -O -m64 -fPIC
> FLINKER = $(F77)
> FLINKFLAGS = $(F77FLAGS)
> FCLINKFLAGS = $(FLINKFLAGS)
> 
> It builds fine, but when I try to build scipy-0.5.2, I get the above error to
> "recompile with -fPIC", when I *did* build Atlas with -fPIC. It's been pretty
> frustrating.
> 
> Thanks!
> 
> Charlie

Being that the binary atlas rpm in Fedora is built with gfortran
rather than g77, you should try using the former when you build scipy.

       	    	     	    	      	  	      L.G.



More information about the SciPy-User mailing list