[R] question on - build R as a shared library

Bai Yan baiyan at ece.ogi.edu
Sun Mar 2 20:46:02 CET 2003


The thing is that even I didn't specify 'enable-shlib', I still get
libR.so but not libR.a, I must missed something here.
Please have a look at the logs below:

--------------------------------------------
%cd /disk/hopper/projects/class/cse514/R-1.6.2/
%make distclean
...
%./configure --prefix=/disk/hopper/projects/class/cse514/R-1.6.2/
...
%cd lib/R/bin
%ls
BATCH    LINK   REMOVE  Rd2txt  Rdindex  Sd2Rd  config   libtool
COMPILE  R      Rcmd    Rdconv  Rprof    build  f77      pager
INSTALL  R.bin  Rd2dvi  Rdiff   SHLIB    check  libR.so  texi2dvi
                                                ^^^^^^^

%cd /disk/hopper/projects/class/cse514/R-1.6.2
%make
...
--------------------------------------------

Yan


On Tue, 25 Feb 2003, A.J. Rossini wrote:

> Bai Yan <baiyan at ece.ogi.edu> writes:
>
>
> > Hi Dirk, thank you for the prompt reply.
> > I found libR.so. But how can I know whether it is build as shared or not.
>
> Traditionally, for linking purposes, libR.so would be a shared
> library, where as libR.a would be a static library.
>
> best,
> -tony
>
> --
> A.J. Rossini				Rsrch. Asst. Prof. of Biostatistics
> U. of Washington Biostatistics		rossini at u.washington.edu
> FHCRC/SCHARP/HIV Vaccine Trials Net	rossini at scharp.org
> -------------- http://software.biostat.washington.edu/ ----------------
> FHCRC: M: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email
> UW:   Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX
> (my tuesday/wednesday/friday locations are completely unpredictable.)
>




More information about the R-help mailing list