dynload for R on AIX (>= 4.2)

Thomas Vogels Thomas Vogels <tov@ece.cmu.edu>
Fri, 11 Jun 1999 15:15:33 -0400


Hi,

  since I've never used dlsym and friends before, I coded a test case
last night to understand what's going on.  I've put it at:
http://www.ece.cmu.edu/~tov/public/dltest.tar.gz

It should work out of the box for AIX 4.2 and Linux.  It's a simple
program that loads a shared object, uses it (with references back to
the main program), and then discards it.  Main point of the exercise
is to find out how to compile this stuff with AIX.

The "ugliness" that I encounter is that I need a file of the
exported symbols in R and the libraries (libappl.a, libmath.a, etc.).
Otherwise I get core dumps.  Any suggestions for when to build it or
where to patch the Makefiles?

If you have a machine with AIX, would you mind downloading the dltest
tarfile?  Just unzip it, untar it.  Then in the dltest directory,
start "make test".  Should print "OK" eventually...

Thanks,
  -tom

-- 
mailto:tov@ece.cmu.edu (Tom Vogels)   Tel: (412) 268-6638   FAX: -3204

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._