Paul Shannon
2004-Aug-14 23:33 UTC
[R] Rserve needs (but cannot find) libR.a (or maybe it's .so)
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
A.J. Rossini
2004-Aug-14 23:33 UTC
[R] Rserve needs (but cannot find) libR.a (or maybe it's .so)
Need to install R with the shared libraries (it's a config option). Paul Shannon <pshannon at systemsbiology.org> writes:> 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 > > ______________________________________________ > R-help at 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 >-- Anthony Rossini Research Associate Professor rossini at u.washington.edu http://www.analytics.washington.edu/ Biomedical and Health Informatics University of Washington Biostatistics, SCHARP/HVTN Fred Hutchinson Cancer Research Center UW (Tu/Th/F): 206-616-7630 FAX=206-543-3461 | Voicemail is unreliable FHCRC (M/W): 206-667-7025 FAX=206-667-4812 | use Email CONFIDENTIALITY NOTICE: This e-mail message and any attachme...{{dropped}}