[R] question on - build R as a shared library
Uwe Ligges
ligges at statistik.uni-dortmund.de
Sun Mar 2 21:26:03 CET 2003
Bai Yan wrote:
>
> 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
> ^^^^^^^
You builded that one on a previous run (look at the dates), I guess.
Making a clean build from sources results in neither libR.so nor libR.a.
The relevant thing is R.bin in that case.
I guess libR.so is left over from installing into the source tree, as
your --prefix statement implies ... (that's not a good idea).
Uwe Ligges
> %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.)
> >
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help
More information about the R-help
mailing list