[SciPy-user] installation problem

Johann Cohen-Tanugi cohen@slac.stanford....
Thu Dec 27 09:16:16 CST 2007


hi Vinu,
you seem to have an installation of ATLAS which has not been built with 
the -Fa alg -fPIC flags (forcing position independent code for each 
compiler). See 
http://math-atlas.sourceforge.net/atlas_install/atlas_install.html#SECTION00043000000000000000

Johann

Vinu Vikram wrote:
> Hi all
> I am facing problem when trying to install scipy0.6.0. The error I am 
> getting is
> building 'scipy.integrate._odepack' extension
> compiling C sources
> C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
> -Wstrict-prototypes -fPIC
>
> compile options: '-DATLAS_INFO="\"3.6.0\"" 
> -I/usr/local/lib/python2.5/site-packages/numpy/core/include 
> -I/usr/local/include/python2.5 -c'
> /usr/bin/g77 -g -Wall -shared build/temp.linux-x86_64- 
> 2.5/scipy/integrate/_odepackmodule.o 
> -L/home/vinu/ATLAS/lib/Linux_UNKNOWNSSE2_2 
> -Lbuild/temp.linux-x86_64-2.5 -lodepack -llinpack_lite -lmach 
> -lptf77blas -lptcblas -latlas -lg2c -o 
> build/lib.linux-x86_64-2.5/scipy/integrate/_odepack.so
> /usr/bin/ld: 
> /home/vinu/ATLAS/lib/Linux_UNKNOWNSSE2_2/libptf77blas.a(ATL_F77wrap_dptscal.o): 
> relocation R_X86_64_32 against `a local symbol' can not be used when 
> making a shared object; recompile with -fPIC
> /home/vinu/ATLAS/lib/Linux_UNKNOWNSSE2_2/libptf77blas.a: could not 
> read symbols: Bad value
> collect2: ld returned 1 exit status
> /usr/bin/ld: 
> /home/vinu/ATLAS/lib/Linux_UNKNOWNSSE2_2/libptf77blas.a(ATL_F77wrap_dptscal.o): 
> relocation R_X86_64_32 against `a local symbol' can not be used when 
> making a shared object; recompile with -fPIC
> /home/vinu/ATLAS/lib/Linux_UNKNOWNSSE2_2/libptf77blas.a: could not 
> read symbols: Bad value
> collect2: ld returned 1 exit status
> error: Command "/usr/bin/g77 -g -Wall -shared 
> build/temp.linux-x86_64-2.5/scipy/integrate/_odepackmodule.o 
> -L/home/vinu/ATLAS/lib/Linux_UNKNOWNSSE2_2 -Lbuild/temp.linux-x86_64- 
> 2.5 -lodepack -llinpack_lite -lmach -lptf77blas -lptcblas -latlas 
> -lg2c -o build/lib.linux-x86_64-2.5/scipy/integrate/_odepack.so" 
> failed with exit status 1
>
> Please help me to solve this.
> thanks
> Vinu V
>
> -- 
> VINU VIKRAM
> http://iucaa.ernet.in/~vvinuv/ <http://iucaa.ernet.in/%7Evvinuv/>
> ------------------------------------------------------------------------
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>   


More information about the SciPy-user mailing list