Yep, that did it. Sent a bug report to the Stat-et folks -- they were overwriting the LD_LIBRARY_PATH (and not preserving the already-established one).
--j On Thu, Feb 9, 2012 at 9:20 AM, Paul Hiemstra <paul.hiems...@knmi.nl> wrote: > The env. variable you need is probably LD_LIBRARY_PATH... > > cheers, > Paul > > On 02/08/2012 10:18 PM, Jonathan Greenberg wrote: > > R-sig-geo'ers: > > > > I'm trying to get the Eclipse plugin for R ("Stat-et") working, but I've > > run into a curious problem with rgdal I was hoping to get some help with. > > When loading rgdal from within the remote connection in Eclipse, I get > > this error: > > > >> require("rgdal") > > Loading required package: rgdal > > Error in dyn.load(file, DLLpath = DLLpath, ...) : > > unable to load shared object > > '/usr/apps/oa/lib64/R/library/rgdal/libs/rgdal.so': > > libgdal.so.1: cannot open shared object file: No such file or directory > > > > Other packages work fine via the remote "load", e.g.: > >> require("raster") > > Loading required package: raster > > raster version 1.9-64 (16-January-2012) > > > > > > Curiously, when launch of R via the command line (connecting to the same > > server as above via SSH) I get the normal, no-problem load: > >> require("rgdal") > > Loading required package: rgdal > > Loading required package: sp > > Geospatial Data Abstraction Library extensions to R successfully loaded > > Loaded GDAL runtime: GDAL 1.9.0, released 2011/12/29 > > Path to GDAL shared files: /usr/apps/oa/share/gdal > > Loaded PROJ.4 runtime: Rel. 4.7.1, 23 September 2009, [PJ_VERSION: 470] > > Path to PROJ.4 shared files: (autodetected) > > > > I suspect something is going on with the environment variables between > the > > Stat-ET launching of R, and the command-line launching. A Sys.getenv() > > reveals that the environment variables are different, but I'm unclear > which > > variable(s?) I should be looking for to fix this problem (or perhaps it > is > > another issue altogether). Thoughts? Cheers! > > > > --j > > > > > > > > > -- > Paul Hiemstra, Ph.D. > Global Climate Division > Royal Netherlands Meteorological Institute (KNMI) > Wilhelminalaan 10 | 3732 GK | De Bilt | Kamer B 3.39 > P.O. Box 201 | 3730 AE | De Bilt > tel: +31 30 2206 494 > > http://intamap.geo.uu.nl/~paul > http://nl.linkedin.com/pub/paul-hiemstra/20/30b/770 > > -- Jonathan A. Greenberg, PhD Assistant Professor Department of Geography University of Illinois at Urbana-Champaign 607 South Mathews Avenue, MC 150 Urbana, IL 61801 Phone: 415-763-5476 AIM: jgrn307, MSN: jgrn...@hotmail.com, Gchat: jgrn307, Skype: jgrn3007 http://www.geog.illinois.edu/people/JonathanGreenberg.html [[alternative HTML version deleted]] _______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo