[R] Compiling R with --enable-R-shlib for rpy2 error
ligges at statistik.tu-dortmund.de
Thu May 13 17:30:21 CEST 2010
On 13.05.2010 11:45, Padma TAN wrote:
> I am trying to compile R with the command below in order to install rpy2.
> ./configure --prefix=/usr/local/R/R-2.9.2 --with-gnu-ld --with-cairo
> --with-x --enable-R-shlib
> However, error the I have gotten was:
> /usr/bin/ld: CConverters.o: relocation R_X86_64_32S against `R_FunTab' can
> not be used when making a shared object; recompile with -fPIC
> CConverters.o: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make: *** [libR.so] Error 1
> I don't really understand the error message. Is there anything I can change
> to compile properly so that I can install rpy2?
> Please help. Thanks in advance! :)
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Note the last sentence above and try again, i.e. use a recent version of
R and report the version number as well as the OS and the compilers in use.
More information about the R-help