From edd@debian.org  Thu Nov 15 21:20:33 2001
From: edd@debian.org (Dirk Eddelbuettel)
Date: Thu, 15 Nov 2001 15:20:33 -0600
Subject: [Rd] No SONAME in libRmath.so in src/nmath/standalone
Message-ID: <20011115152033.A22144@sonny.eddelbuettel.com>


Upon the suggestion of a Debian user, I am looking into also shipping
libRmath.{a,so}.  Building from R-1.3.1 sources, the resulting libRmath.so
is not recognised as shared library (objdump -p does not show SONAME).
Now, the Makefile hints at libtool usage, but I do not understand how to
enable this. 

However, I used the existing but empty option field libRmath_la_LDFLAGS
to pass the required info to gcc:
       libRmath_la_LDFLAGS=-Wl,-soname,libRmath.so.0

This leads to two questions:

1) Did I overlook anything?  Is there another (better?) way of doing this?

2) Is it ok with R-core if I use 0 as the SO number? Or should it be 1?

Thanks,  Dirk

-- 
Better to have an approximate answer to the right question 
than a precise answer to the wrong question. -- John Tukey
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] No SONAME in libRmath.so in src/nmath/standalone
Dirk Eddelbuettel