Re: [R] rgdal installation with two versions of GDAL

2015-04-22 Thread Rob Skelly
You can *really* confirm where things are found via R CMD ldd ... see the manual. Yes of course. I had done that, and received the hoped-for response: libgdal.so.1 = /opt/gdal-1.11.2/lib/libgdal.so.1 (0x7fd9e0175000) But I realize now that this was with LD_LIBRARY_PATH set. Of course R

[R] rgdal installation with two versions of GDAL

2015-04-21 Thread Rob Skelly
Hello, I am using GDAL 2.0 for most of my work, but rgdal depends on GDAL 2. I have built and installed GDAL 1.11.2 in /opt/gdal-1.11.2, and rgdal compiles and installs into R, using the following command: sudo R CMD INSTALL --configure-args=--with-gdal-config=/opt/gdal.1.11.2/bin/gdal-config