[R] Rserve needs (but cannot find) libR.a (or maybe it's .so)

Paul Shannon pshannon at systemsbiology.org
Sun Aug 15 01:33:01 CEST 2004


I have successfully installed Rserv (http://stats.math.uni-augsburg.de/Rserve)
on Mac OS, but I have trouble on two different linux platforms.

   R CMD INSTALL Rserve_0.3-10.tar.gz

fails with this message

  ** libs
  gcc -g -O2 -I/usr/local/include -L/usr/local/lib  Rserv.c -o Rserve  \
     -DDAEMON -O -I/usr/local/lib/R/include -Iinclude -I. -lR -L/usr/local/lib/R/bin -ldl -lcrypt 
  /usr/bin/ld: cannot find -lR
  collect2: ld returned 1 exit status
  make: *** [Rserve] Error 1
  ERROR: compilation failed for package 'Rserve'

Sure enough, when I look, I cannot find either libR.a or librR.so on either
linus system.

On the Mac, I -do- find libR.dylib.

Can anyone help with this?

Many thanks -

 - Paul Shannon
   Institute for Systems Biology
   Seattle




More information about the R-help mailing list