Skip to content
Prev 350271 / 398506 Next

rgdal installation with two versions of GDAL

On 22/04/2015 05:43, Rob Skelly wrote:
You can *really* confirm where things are found via R CMD ldd ... see 
the manual.
You either use the ld options when building rgdal.so (e.g. for your OS 
-Wl,-rpath=/opt/gdal-1.11.2/lib) or you link statically.  The latter is 
easier and safer ... just build a static GDAL.

Many projects set -R/-rpath flags in their config scripts: it is 
something you could suggest to the GDAL maintainers (and finding them is 
part of libtool which GDAL uses).

But (see the posting guide) the generic question belonged on R-devel and 
questions about rgdal on R-sig-geo.