[Rd] R CMD config doesn't export JAVA_LD_LIBRARY_PATH (PR#13165)

From: <chakj_at_stanford.edu>
Date: Wed, 15 Oct 2008 00:00:03 +0200 (CEST)

R CMD config exports the following variables:

   JAR           Java archive tool command
   JAVA          Java interpreter command
   JAVAC         Java compiler command
   JAVAH         Java header and stub generator command
   JAVA_HOME     path to the home of Java distribution
   JAVA_LIBS     flags needed for linking against Java libraries
   JAVA_CPPFLAGS C preprocessor flags needed for compiling JNI programs

JAVA_LD_LIBRARY_PATH is defined in Makeconf, but not exported. Specifically, src/scripts/config includes the following line: ok_java_vars="JAVA JAVAC JAVAH JAR JAVA_HOME JAVA_LIBS JAVA_CPPFLAGS"

This list does not include JAVA_LD_LIBRARY_PATH, with no explanation of why not. Providing this env variable would allow developers to use RPATH instead of setting the LD_LIBRARY_PATH variable by hand before running R extensions that use Java.

--please do not edit the information below--

  platform = x86_64-pc-linux-gnu
  arch = x86_64
  os = linux-gnu
  system = x86_64, linux-gnu
  status =
  major = 2
  minor = 7.1
  year = 2008
  month = 06
  day = 23
  svn rev = 45970
  language = R
  version.string = R version 2.7.1 (2008-06-23)


Search Path:
  .GlobalEnv, package:stats, package:graphics, package:grDevices, package:utils, package:datasets, package:methods, Autoloads, package:base

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed 15 Oct 2008 - 09:46:17 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 Wed 15 Oct 2008 - 11:30:26 GMT.

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

list of date sections of archive