[R] R static is dynamically linked!!

George Georgalis george at galis.org
Tue May 20 17:52:32 CEST 2008


On Tue 20 May 2008 at 07:01:58 AM +0100, Prof Brian Ripley wrote:
> You asked for R to be built as a static lib, not for the front-end to be 
> statically linked. It is not the R lib it is dynamically linking to (that 
> is statically linked by default whether or not you ask for a separate lib), 
> but the OS components.
>
> R depends on dlopen-ing extensions, so there is no way to make it entirely 
> static.

I see the bigger picture now. The goal was to get a
single "binary" (PREFIX) working on multiple (very
similar) systems. The docs/comments are not clear or
out of date with regard to what is meant by "static";
I wanted the OS libs etc included so the package could
operate more easily across machines at the site (nfs).

But this makes me realize, since our OS is generally
backwards compatible, I may be able to build on the old
systems and use on the newer ones as well. Will give
that a shot.

// George


-- 
George Georgalis, information system scientist <IXOYE><



More information about the R-help mailing list