We use R 1.3.0 in a Java application and it's been successfully deployed on IRIX, Solaris and Linux machines. I've got a problem with R on our RS6000 (AIX 4.3.3) which I'm hoping I can solve by posting here. R is compiled and bundled with our application (on all UNIX platforms) as follows: 1. R is configured using: configure --with-x=no --with-tcltk=no 2. Once compiled (with gcc) and installed on development machines, a copy of R's lib directory is bundled with our application, and R_HOME is set to point to the appropriate area at runtime. This has worked for Solaris and IRIX. In both these instances, our application has been successfully deployed on target machines that weren't used for development. However, with a non-development AIX machine, the deployment failed. R complained at runtime about not being able to access libz.a. Have I compiled R incorrectly? Is there some prerequisite that applies to AIX and not to other UNIXes, or have I merely been lucky with the other UNIXes in that the prerequisites were already satisifed? regards, Peter -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Compiling R 1.3.0 on AIX 4.3.3 and libz.a
2 messages · Peter Cameron, Thomas Lumley
On Tue, 5 Feb 2002, Peter Cameron wrote:
However, with a non-development AIX machine, the deployment failed. R complained at runtime about not being able to access libz.a. Have I compiled R incorrectly? Is there some prerequisite that applies to AIX and not to other UNIXes, or have I merely been lucky with the other UNIXes in that the prerequisites were already satisifed?
I think you've been lucky. The R configuration process looks for quite a few libraries and links them if they are found. If they aren't found we either provide substitutes or don't implement that feature. If you just move the R install tree then the same libraries have to be found in the same places on the new machine. ldd should tell you what libraries are required. -thomas -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._