help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error trying to build octave 3.4 with umfpack


From: John Young
Subject: Re: error trying to build octave 3.4 with umfpack
Date: Wed, 04 May 2011 14:54:33 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10

On 05/03/2011 03:03 PM, John Young wrote:
> Hello,
> 
>    I am trying to build octave with umfpack.  I downloaded the SuiteSparse
> source code, built the various components, and tried to configure octave
> (following some of the advice I read on the net) with:
> 
> sn{jyoung}% ./configure 
> CPPFLAGS="-I/scr1/software/SuiteSparse/UMFPACK/Include/"
> LDFLAGS="-L/scr1/software/SuiteSparse/UMFPACK/Lib" 
> --libdir="/scr1/software/SuiteSparse/COLAMD/Lib"
> --libdir="/scr1/software/SuiteSparse/CCOLAMD/Lib" 
> --libdir="/scr1/software/SuiteSparse/CHOLMOD/Lib"
> 
> After a looong make, I get:
> ... -lgfortran -lstdc++ -lm -lpthread -lc -lgcc_s 
> /usr/lib64/gcc/x86_64-suse-linux/4.5/crtendS.o
> /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../lib64/crtn.o  -pthread 
> -Wl,-rpath
> -Wl,/scr1/software/SuiteSparse/CHOLMOD/Lib/octave-3.4.0   -pthread -Wl,-soname
> -Wl,liboctave-3.4.0.so -o .libs/liboctave-3.4.0.so
> /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld:
> /usr/local/lib/libcholmod.a(cholmod_common.o): relocation R_X86_64_32S 
> against `malloc' can not be
> used when making a shared object; recompile with -fPIC
> /usr/local/lib/libcholmod.a: could not read symbols: Bad value
> 
> Any suggestions?
> 
> JY

OK.  If anyone else runs into this problem, I was able to solve it
by following the information at:

http://techlogbook.wordpress.com/2008/03/24/installing-octave-with-umfpack-from-source/


JY


reply via email to

[Prev in Thread] Current Thread [Next in Thread]