[R-SIG-Mac] Does the universal installer build R as a shared lib?

Rolando de Aguiar deaguiar at eden.rutgers.edu
Mon Mar 6 14:50:12 CET 2006


Hello there-
I am new to R and used the new universal installer to install it (Mac OS 
X 10.4.5); wonderfully easy. Over the weekend I tried to build Rpy and 
got an error  (below); though I haven't found any information on that 
error, I do see a recurring theme that R must be compiled as a shared 
library for Rpy to work correctly. Does the universal installer build R 
as a shared library?
Thanks,
Rolando.

...
gcc -Wl,-F. -Wl,-F. -bundle -undefined dynamic_lookup 
build/temp.darwin-8.5.0-Power_Macintosh-2.3/src/rpymodule2021.o 
build/temp.darwin-8.5.0-Power_Macintosh-2.3/src/R_eval2021.o 
build/temp.darwin-8.5.0-Power_Macintosh-2.3/src/io2021.o 
-L/Library/Frameworks/R.framework/Resources/bin 
-L/Library/Frameworks/R.framework/Resources/lib 
-L/Library/Frameworks/R.framework/Resources/bin 
-L/Library/Frameworks/R.framework/Resources/lib -lR -lRlapack -o 
build/lib.darwin-8.5.0-Power_Macintosh-2.3/_rpy2021.so
/usr/bin/ld: can't locate file for: -lRlapack
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

-- 
. . . . . . . . . . . . . . . . .
Rolando de Aguiar
Graduate Program, Anthropology
Rutgers University



More information about the R-SIG-Mac mailing list