[R] nmath standalone again

Roger Peng rpeng at stat.ucla.edu
Fri May 24 19:14:01 CEST 2002


You may have to run ldconfig (or something like that) after modifying your
/etc/ld.so.conf file

Also, you could specify the library directory on the command line,
something like:

cc -L/usr/local test.c -lRmath

-roger
_______________________________
UCLA Department of Statistics
rpeng at stat.ucla.edu
http://www.stat.ucla.edu/~rpeng

On Fri, 24 May 2002, Paola Lecca wrote:

> Hi !
> 
> I have again problem with nmath standalone sources package.
> Following the suggestion of Reid, I did control that
> /usr/local, in which I copied the dir standalone,  is listed in
> /etc/ld.so.conf.
> 
> However, because of my big ignorance, I don't understand how I have to do
> the linkage to Rmath during the compilation of a source.
> 
> What does it mean:
> 
> "and link against -lRmath" in file README of src/nmath/standalone ?
> 
> Have I to do: cc -lRmath test.c ? In this case I receive this message:
> 
> /usr/bin/ld: cannot find -lRmath
> collect2: ld returned 1 exit status
> 
> I ask again your help. Sorry for the disturb.
> Thanks in advance,
> Paola.
> 
> 
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list