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

Rolando de Aguiar deaguiar at eden.rutgers.edu
Mon Mar 6 15:57:53 CET 2006


Kjell-
Beautiful!
Thank you. Just to reiterate (sorry that I did not find this in the 
archives), one needs to edit Rpy's setup.py to remove Rlapack from the 
list of required libraries in Darwin. Worked well! Thanks.
-Rolando.

Kjell Konis wrote:
> This may help:
> 
>   http://www.mail-archive.com/r-sig-mac@stat.math.ethz.ch/msg00129.html
> 
> Kjell
> 
> 
> On 6 Mar 2006, at 13:50, Rolando de Aguiar wrote:
> 
>> 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
> 
> 

-- 
. . . . . . . . . . . . . . . . .
Rolando de Aguiar
Graduate Program, Anthropology
Rutgers University
         deaguiar at eden.rutgers.edu
http://eden.rutgers.edu/~deaguiar



More information about the R-SIG-Mac mailing list