[R] Package compiling problem in Linux

From: Waichler, Scott R <Scott.Waichler_at_pnl.gov>
Date: Tue 14 Feb 2006 - 03:26:18 EST

Hi,

I am trying to install packages in R-2.2.1 on a Redhat WS4 system. I get the following error messages trying to install, for example, the akima package:

> R.version.string

[1] "R version 2.2.1, 2005-12-20"
> install.packages("akima", lib="/usr/lib/R/library", repos =
"http://cran.fhcrc.org/")

.
.
.

gcc -shared -L/usr/local/lib -o akima.so akima433.o akima697.o akima.new.o idbvip.o idcldp.o idgrid.o idlctn.o idpdrv.o idptip.o idptli.o idsfft.o idtang.o idxchg.o init.o tripack.o ttidbs.o -lg2c -lm -lgcc_s -L/usr/lib/R/lib -lR
/usr/bin/ld: skipping incompatible /usr/lib/R/lib/libR.so when searching for -lR
/usr/bin/ld: cannot find -lR
collect2: ld returned 1 exit status
make: *** [akima.so] Error 1

I don't understand the -lR flag. What is missing in the system toolkit?

Scott Waichler
Pacific Northwest National Laboratory
scott.waichler _at_ pnl.gov



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Feb 14 04:58:17 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:29 EST