[SciPy-user] failure to build scipy on RHEL5

Michael Hearne mhearne@usgs....
Wed Apr 23 16:53:56 CDT 2008


Wasn't sure how far back to go, so here's several more lines' worth:

compile options: '-DNO_ATLAS_INFO=1 -Ibuild/src.linux-x86_64-2.5 -I/ 
usr/local/lib/python2.5/site-packages/numpy-1.0.4-py2.5-linux- 
x86_64.egg/numpy/core/include -I/usr/local/include/python2.5 -c'
gcc: build/src.linux-x86_64-2.5/build/src.linux-x86_64-2.5/scipy/lib/ 
blas/fblasmodule.c
compiling Fortran sources
Fortran f77 compiler: /usr/bin/g77 -g -Wall -fno-second-underscore - 
fPIC -O3 -funroll-loops -march=nocona -mmmx -msse2 -msse -fomit-frame- 
pointer
creating build/temp.linux-x86_64-2.5/build/src.linux-x86_64-2.5/scipy/ 
lib
creating build/temp.linux-x86_64-2.5/build/src.linux-x86_64-2.5/scipy/ 
lib/blas
compile options: '-DNO_ATLAS_INFO=1 -Ibuild/src.linux-x86_64-2.5 -I/ 
usr/local/lib/python2.5/site-packages/numpy-1.0.4-py2.5-linux- 
x86_64.egg/numpy/core/include -I/usr/local/include/python2.5 -c'
g77:f77: build/src.linux-x86_64-2.5/scipy/lib/blas/fblaswrap.f
g77:f77: build/src.linux-x86_64-2.5/build/src.linux-x86_64-2.5/scipy/ 
lib/blas/fblas-f2pywrappers.f
/usr/bin/g77 -g -Wall -g -Wall -shared build/temp.linux-x86_64-2.5/ 
build/src.linux-x86_64-2.5/build/src.linux-x86_64-2.5/scipy/lib/blas/ 
fblasmodule.o build/temp.linux-x86_64-2.5/build/src.linux-x86_64-2.5/ 
fortranobject.o build/temp.linux-x86_64-2.5/build/src.linux-x86_64-2.5/ 
scipy/lib/blas/fblaswrap.o build/temp.linux-x86_64-2.5/build/src.linux- 
x86_64-2.5/build/src.linux-x86_64-2.5/scipy/lib/blas/fblas- 
f2pywrappers.o -L/usr/local/lib -Lbuild/temp.linux-x86_64-2.5 -lfblas - 
lg2c -o build/lib.linux-x86_64-2.5/scipy/lib/blas/fblas.so
/usr/bin/ld: /usr/local/lib/libfblas.a(cgemm.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/libfblas.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
/usr/bin/ld: /usr/local/lib/libfblas.a(cgemm.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/libfblas.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: Command "/usr/bin/g77 -g -Wall -g -Wall -shared build/ 
temp.linux-x86_64-2.5/build/src.linux-x86_64-2.5/build/src.linux- 
x86_64-2.5/scipy/lib/blas/fblasmodule.o build/temp.linux-x86_64-2.5/ 
build/src.linux-x86_64-2.5/fortranobject.o build/temp.linux-x86_64-2.5/ 
build/src.linux-x86_64-2.5/scipy/lib/blas/fblaswrap.o build/temp.linux- 
x86_64-2.5/build/src.linux-x86_64-2.5/build/src.linux-x86_64-2.5/scipy/ 
lib/blas/fblas-f2pywrappers.o -L/usr/local/lib -Lbuild/temp.linux- 
x86_64-2.5 -lfblas -lg2c -o build/lib.linux-x86_64-2.5/scipy/lib/blas/ 
fblas.so" failed with exit status 1

On Apr 23, 2008, at 3:49 PM, Robert Kern wrote:

> On Wed, Apr 23, 2008 at 4:47 PM, Michael Hearne <mhearne@usgs.gov>  
> wrote:
>> Just tried to compile SciPy on a RedHat Enterprise 5 system,  
>> following
>> the instructions on http://pong.tamu.edu/tiki/tiki-view_blog_post.php?blogId=6&postId=97
>>
>> and got the errors below:
>>
>> error: Command "/usr/bin/g77 -g -Wall -g -Wall -shared build/
>> temp.linux-x86_64-2.5/build/src.linux-x86_64-2.5/build/src.linux-
>> x86_64-2.5/scipy/lib/blas/fblasmodule.o build/temp.linux-x86_64-2.5/
>> build/src.linux-x86_64-2.5/fortranobject.o build/temp.linux- 
>> x86_64-2.5/
>> build/src.linux-x86_64-2.5/scipy/lib/blas/fblaswrap.o build/ 
>> temp.linux-
>> x86_64-2.5/build/src.linux-x86_64-2.5/build/src.linux-x86_64-2.5/ 
>> scipy/
>> lib/blas/fblas-f2pywrappers.o -L/usr/local/lib -Lbuild/temp.linux-
>> x86_64-2.5 -lfblas -lg2c -o build/lib.linux-x86_64-2.5/scipy/lib/ 
>> blas/
>> fblas.so" failed with exit status 1
>
> The actual error message from the linker is just above that. Please  
> post it.
>
> -- 
> Robert Kern
>
> "I have come to believe that the whole world is an enigma, a harmless
> enigma that is made terrible by our own mad attempt to interpret it as
> though it had an underlying truth."
> -- Umberto Eco
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user




------------------------------------------------------
Michael Hearne
mhearne@usgs.gov
(303) 273-8620
USGS National Earthquake Information Center
1711 Illinois St. Golden CO 80401
Senior Software Engineer
Synergetics, Inc.
------------------------------------------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20080423/411ae6dc/attachment.html 


More information about the SciPy-user mailing list