[R-SIG-Mac] problem compiling R 1.7.0 on OS 10.2.6

Stephen Eglen stephen at inf.ed.ac.uk
Tue May 20 12:25:09 MEST 2003




 > I'm having problems compiling R 1.7.0 on my mac (OS 10.2.6; fink
 > updated).  I get the same error that Jean Thioulouse reported two
 > months ago:
 > (Taken from
 > https://stat.ethz.ch/pipermail/r-sig-mac/2003-February.txt)
 > 
 > > From: Jean.Thioulouse at biomserv.univ-lyon1.fr (Jean Thioulouse)
 > > Date: Wed, 26 Feb 2003 13:34:01 +0100
 > > Subject: [R-SIG-Mac]compiling r-devel on Darwin
 > > Message-ID: <p05200f00ba824814685a@[134.214.34.24]>
 > 
 > > Hello,
 > >
 > > I am trying to compile the latest r-devel under MacOS 10.2.4, and
 > > I get the following error :
 > > 
 > > gcc -dynamiclib -install_name /usr/local/lib/R/bin/libRlapack.dylib
 > > -L/sw/lib -L/usr/local/lib -o libRlapack.dylib dlapack0.lo
 > > dlapack1.lo dlapack2.lo dlapack3.lo cmplx.lo  -lf77blas -latlas
 > > -L/sw/lib -L/usr/local/lib
 > > -L/sw/lib/gcc-lib/powerpc-apple-darwin6.2/3.1
 > > -L/sw/lib/gcc-lib/powerpc-apple-darwin6.2/3.1/../../.. -lfrtbegin
 > > -lg2c -lSystem 
 > > ld: common symbols not allowed with MH_DYLIB output format
 > > /usr/bin/libtool: internal link edit command failed
 > > /sw/lib/libg2c.a(err.o) definition of common _f__cblank (size 4)
 > > /sw/lib/libg2c.a(fmt.o) definition of common _f__cnt (size 40)
 > > /sw/lib/libg2c.a(fmt.o) definition of common f(char,  *) (size 4)
 > 


Just to follow up on this:  Jan suggested using the following config
flags:

  --with-blas="-framework vecLib" --with-lapack

which solved the problem.  Thanks Jan.



More information about the R-SIG-Mac mailing list