[R-SIG-Mac] Problems installing RGDAL pakages

Geniaux Ghislain geniaux at avignon.inra.fr
Tue Feb 6 18:32:27 CET 2007


Hi,
I want to install RGDAL on MacBookPro OS 10.4.8 with R 2.4.1 in order to use
R and GRASS 6.2

I succeed to install RGDAL 0.5.6 from source with the following command
line, (R su mode) :

install.packages('rgdal',
configure.args='--with-gdal-config=/Library/Frameworks/GDAL.framework/Progra
ms/gdal-config 
--with-proj-include=/Library/Frameworks/PROJ.framework/unix/include
-with-proj-lib=/Library/Frameworks/PROJ.framework/unix/lib',dependencies=TRU
E, type="source")

Compilation works but it's impossible to load the library. I've the
following message :

"
Error in dyn.load(x, as.logical(local), as.logical(now)) :
    impossible to load the shared library
'/Library/Frameworks/R.framework/Versions/2.4/Resources/library/rgdal/libs/i
386/rgdal.so':
  
dlopen(/Library/Frameworks/R.framework/Versions/2.4/Resources/library/rgdal/
libs/i386/rgdal.so, 6): Symbol not found: __ZN13OGRLineString8setPointEidd
  Referenced from: 
/Library/Frameworks/R.framework/Versions/2.4/Resources/library/rgdal/libs/i3
86/rgdal.so
  Expected in: dynamic lookup
Erreur : le chargement du package / espace de noms a échoué pour 'rgdal'
"

Any ideas ?

Thanks.
Ghislain



More information about the R-SIG-Mac mailing list