[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
liblapack.a: relocation R_X86_64_32 against `a local symbol' can not be
From: |
Irena Johnson |
Subject: |
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, 2 Nov 2011 13:09:30 -0400 |
Dear Support Group,
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-x \
--with-z-includedir=/usr/pppl/zlib/1.2.5/include \
--with-z-libdir=/usr/pppl/zlib/1.2.5/lib \
--with-hdf5-includedir=/usr/pppl/gcc/4.6-pkgs/openmpi-1.4.3-pkgs/hdf5-1.8.5-parallel/include
\
--with-hdf5-libdir=/usr/pppl/gcc/4.6-pkgs/openmpi-1.4.3-pkgs/hdf5-1.8.5-parallel/lib
\
--with-qhull-includedir=/usr/pppl/gcc/4.6-pkgs/qhull-2011.1/include \
--with-qhull-libdir=/usr/pppl/gcc/4.6-pkgs/qhull-2011.1/lib \
--with-fftw3-includedir=/usr/pppl/gcc/4.6-pkgs/fftw-3.2.2/include \
--with-fftw3-libdir=/usr/pppl/gcc/4.6-pkgs/fftw-3.2.2/lib \
--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 \
--with-glpk-includedir=/usr/pppl/gcc/4.6-pkgs/glpk-4.47/include \
--with-glpk-libdir=/usr/pppl/gcc/4.6-pkgs/glpk-4.47/lib
I am also attaching the error I am getting when compiling (log.make).
I have tried to compile using different versions of the blas/lapack
libraries, but without any success. Note: I compiled blas/lapack
specifying -fPIC for OPTS and NOOPT (please see the file
lapack-3.3.1-make.inc)
I searched for a solution but couldn't find anything. I appreciate
your help. Thank you,
Irena Johnson
log.make
Description: Binary data
lapack-3.3.1-make.inc
Description: Binary data
- liblapack.a: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC,
Irena Johnson <=