|
From: | Przemek Klosowski |
Subject: | Re: liblapack.a: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC |
Date: | Wed, 02 Nov 2011 14:01:30 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1 |
On 11/02/2011 01:09 PM, Irena Johnson wrote:
I am trying to compile octave-3.4.3 on our rhel5 server. I am using gcc4/4.6.0 Please see the config options below: ./configure --prefix=/usr/pppl/gcc/4.6-pkgs/octave-3.4.3 \
....
--with-blas=/usr/pppl/gcc/4.6-pkgs/lapack-3.3.1/libblas.a \ --with-lapack=/usr/pppl/gcc/4.6-pkgs/lapack-3.3.1/liblapack.a \
I think that it needs shared libraries (.so) and you are giving it the static libraries (.a). Do you have libblas.so and liblapack.so on your system? I think they are provided by the packages blas-devel and lapack-devel (and also atlas-sse{,2,3}-devel, so 'yum install blas-devel lapack-devel' should fix it for you.
[Prev in Thread] | Current Thread | [Next in Thread] |