[R-SIG-Mac] Trouble installing rgdal --- libcurl.4.dylib

Simon Urbanek simon.urbanek at r-project.org
Fri May 18 18:57:52 CEST 2012


On May 18, 2012, at 12:34 PM, de Larminat, Pierre wrote:

> Hello everyone,
> 
> I have trouble installing the rgdal package.
> I run R 2.15.0 on Mac OS 10.6.8.
> 
> I followed the instructions given by Roger Bivand, who develops rgdal and ran:
>> library(sp);
>> setRepositories(ind=1:2)
>> install.packages("rgdal")
> --- SVP sélectionner un miroir CRAN pour cette session ---
> essai de l'URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/macosx/leopard/contrib/2.15/rgdal_0.7-8.tgz'
> Content type 'application/x-gzip' length 13810017 bytes (13.2 Mb)
> URL ouverte
> ==================================================
> downloaded 13.2 Mb
> 
> It seemed to be OK, but when I try to call rgdal, I get:
>> library(rgdal)
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>  impossible de charger l'objet partagé '/Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgdal/libs/i386/rgdal.so':
>  dlopen(/Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgdal/libs/i386/rgdal.so, 6): Library not loaded: /usr/lib/libcurl.4.dylib
>  Referenced from: /Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgdal/libs/i386/rgdal.so
>  Reason: Incompatible library version: rgdal.so requires version 7.0.0 or later, but libcurl.4.dylib provides version 6.0.0
> Erreur : le chargement du package / espace de noms a échoué pour Œrgdal‚
> 
> It seems that the problem comes from libcurl.4.dylib.
> 
> Does anyone know what I should do?
> 

Please wait for the CRAN version, it should be up today or tomorrow. Alternatively you can upgrade you system (we will be removing Leopard support soon anyway). My understanding is that the CRANextras binaries are now cross-compiled, so they don't always work on Leopard anymore.

Cheers,
Simon


> Thank you very much,
> Pierre.
> 
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list