[R-SIG-Mac] rgdal : load failure :-(

Simon Urbanek simon.urbanek at r-project.org
Fri May 19 15:03:50 CEST 2006


On May 18, 2006, at 6:59 AM, massimosisasha wrote:

> hi. i've installed rgdal on R-2.2   on a osx10.4.6
> but when itry to load the package i've this error message :
>
>
>> library(rgdal)
> Errore in dyn.load(x, as.logical(local), as.logical(now)) :
> 	impossibile caricare libreria condivisa '/Library/Frameworks/
> R.framework/Resources/library/rgdal/libs/rgdal.so':
>    dlopen(/Library/Frameworks/R.framework/Resources/library/rgdal/
> libs/rgdal.so, 6): Library not loaded: /usr/local/lib/libgdal.1.dylib
^^^-- this one is missing
>    Referenced from: /Library/Frameworks/R.framework/Resources/library/
> rgdal/libs/rgdal.so
>    Reason: image not found
> Errore in library(rgdal) : .First.lib fallita per 'rgdal'
> Errore in Sys.putenv(PROJ_LIB = .rgdal_old.PROJ_LIB) :
> 	oggetto ".rgdal_old.PROJ_LIB" non trovato
>
> can you helme please?

You're missing the necessary gdal library. I have no clue how you  
compiled it and you didn't tell us, either, so we can't really help  
you. My guess is that you don't have gdal installed at all.

Cheers,
Simon



More information about the R-SIG-Mac mailing list