[R] Package compiling problem in Linux
Waichler, Scott R
Scott.Waichler at pnl.gov
Mon Feb 13 17:26:18 CET 2006
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
More information about the R-help
mailing list