[R-sig-Geo] MACOSX: rgdal cannot find GDAL

Agustin Lobo alobolistas at gmail.com
Fri Dec 24 10:21:13 CET 2010

After having installed GDAL Complete from

I try gdalinfo but:

imac-de-agustin-lobo:~ agustinlobo$ gdalinfo --version
-bash: gdalinfo: command not found

Also Spotlight cannot find but the uncompressed folder GDAL Complete,
or any of the installed
programs (i.e. gdalinfo or gdal-config)

imac-de-agustin-lobo:~ agustinlobo$ gdal-config-bash: gdal-config:
command not found

Obviously, rgdal cannot find GDAL

> setRepositories(ind=1:2)
> install.packages("rgdal")
--- Please select a CRAN mirror for use in this session ---
probando la URL
Content type 'application/x-gzip' length 10203689 bytes (9.7 Mb)
URL abierta
downloaded 9.7 Mb

The downloaded packages are in
> require(rgdal)
Loading required package: rgdal
Loading required package: sp
Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared object
6): Library not loaded: libR.dylib
  Referenced from:
  Reason: image not found

More information about the R-sig-Geo mailing list