How can I install the R 'sf' package on CentOS? On attempting to install, I initially got an error due to an out of date gdal package; I updated gdal (built from source following: http://trac.osgeo.org/gdal/wiki/BuildingOnUnix) and now have an error:
checking GDAL: linking with --libs only... yes checking GDAL: /usr/local/share/gdal/pcs.csv readable... yes checking GDAL: checking whether PROJ.4 is available for linking:... yes checking GDAL: checking whether PROJ.4 is available fur running:... ./gdal_proj: error while loading shared libraries: libgdal.so.20: cannot open shared object file: No such file or directory no configure: error: OGRCoordinateTransformation() does not return a coord.trans: PROJ.4 not available? ERROR: configuration failed for package ‘sf’ I've tried creating a symlink to libgdal.so.20, but this doesn't change the error at all.