Re: [R] R static is dynamically linked!!

From: George Georgalis <george_at_galis.org>
Date: Mon, 19 May 2008 19:58:02 -0400

On Mon 19 May 2008 at 06:39:39 PM -0400, George Georgalis wrote:
>Hi,
>
>After doing all I could find with the confiure script...
>I set some env too...
>
>export enable_R_static_lib=yes
>export want_R_static=yes
>export WANT_R_STATIC_TRUE=yes
>
>./configure \
> --prefix=${i} \
> --enable-R-static-lib \
> --enable-static \
> --without-readline \
> --without-iconv \
>&& make \
>&& make install \
>&& echo "R ${v} installed in ${i}"
>
>But the result is still dynamic:
>
>ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for NetBSD 4.0, dynamically linked (uses shared libs), not stripped
>
>Is there some way to make this static?

In http://cran.r-project.org/doc/manuals/R-admin.html I did find:

9.1 Unix

If R has not already be made in the directory tree, configure must tbe run as described in the main build instructions.

Then

     make

will make standalone libraries libRmath.a and libRmath.so. `make static' and make shared will create just one of them.

however...

make: don't know how to make static. Stop

and "static" is not really part of the
Makefile or any Make fragments. So back to starting... is there anyway to make it static?

// George

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

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 20 May 2008 - 00:09:02 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 20 May 2008 - 01:30:39 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive