Skip to content

Compile failure on OSX

2 messages · Adam Witney, Brian Ripley

#
Hi,

I am trying to compile R-2.1.1 on MacOSX 10.3.9, but the make is failing (I
am building it without all the aqua stuff):

./configure --enable-R-shlib --with-lapac
make

.... Snip .....

gcc -dynamiclib -L/sw/lib -L/usr/local/lib -install_name
/Library/Frameworks/R.framework/Versions/2.1.1/Resources/lib/libRlapack.dyli
b -o libRlapack.dylib dlamc.lo dlapack0.lo dlapack1.lo dlapack2.lo
dlapack3.lo cmplx.lo  cmplxblas.lo
-L/sw/lib/gcc/powerpc-apple-darwin7.9.0/3.4 -lg2c -lSystem
ld: Undefined symbols:
_dasum_
_daxpy_
_dcopy_
_ddot_
_dgemm_
_dgemv_
_dger_
_dnrm2_
_drot_
_dscal_
_dswap_
_dsymv_
_dsyrk_
_dtbsv_
_dtpsv_
_dtrmm_
_dtrmv_
_dtrsv_
_idamax_
_xerbla_
_dtpmv_
_dtrsm_
_dgbmv_
_dsbmv_
_dspmv_
_dspr2_
_dspr_
_dsymm_
_dsyr2_
_dsyr2k_
_dsyr_
_dtbmv_
_zgemm_
/usr/bin/libtool: internal link edit command failed
make[4]: *** [libRlapack.dylib] Error 1
make[3]: *** [R] Error 2
make[2]: *** [R] Error 1
make[1]: *** [R] Error 1
make: *** [R] Error 1

Thanks for any help

Adam
#
On Tue, 16 Aug 2005, Adam Witney wrote:

            
That's incorrect.  Please follow the advice in the R-admin.html file which 
the INSTALL file does ask you to read if you have any problems.  It says 
for your OS:

   ./configure --with-blas='-framework vecLib' --with-lapack --with-aqua
   make

   The last option @option{--with-aqua} is needed only if you want a
   Console GUI. The first two options are strongly recommended.
                                          ^^^^^^^^^^^^^^^^^^^^

It also warns you against using --with-lapack if you don't know what you 
are doing.
[...]