Did you ever have any luck with this. I've just installed GDAL complete 1.7dmg as well
OS X 10.5.8 R11. On Sun, May 2, 2010 at 5:33 AM, Viscarra Rossel, Raphael (CLW, Black Mountain) <raphael.viscarra-ros...@csiro.au> wrote: > Hello, > I have just upgraded from R 2.9 to 2.11 on my macbook pro running OS X > 10.6.3 . > I am having problems re-installing rgdal. Installation worked fine in 2.9, > where I installed it using: > > install.packages('rgdal', > configure.args='--with-gdal-config=/Library/Frameworks/GDAL.Framework/Unix/bin/gdal-config > --with-proj-include=/Library/Frameworks/PROJ.framework/unix/include-with-proj-lib=/Library/Frameworks/PROJ.framework/unix/lib/',dependencies=TRUE, > type="source", repos = NULL) > > I should also say that I downloaded and installed GDAL_complete_1.7.dmg, > upgrading from GDAL 1.6, and the latest rgdal_0.6-24.tgz. > > I tried installing rgdal like I did previously on 2.9: > > install.packages('rgdal', > configure.args='--with-gdal-config=/Library/Frameworks/GDAL.Framework/Version/1.7/unix/bin/gdal-config > --with-proj-include=/Library/Frameworks/PROJ.framework/Versions/4.6 > 1/unix/include-with-proj-lib=/Library/Frameworks/PROJ.framework/unix/lib/',dependencies=TRUE, > type="source", repos = NULL) > > however the error message I get is: > > Warning in install.packages("rgdal", configure.args = > "--with-gdal-config=/Library/Frameworks/GDAL.Framework/unix/bin/gdal-config > --with-proj-include=/Library/Frameworks/PROJ.framework/unix/include-with-proj-lib=/Library/Frameworks/PROJ.framework/unix/lib/", > : > argument 'lib' is missing: using '/Users/vis010/Library/R/2.11/library' > Warning: invalid package rgdal > Error: ERROR: no packages specified > Warning message: > In install.packages("rgdal", configure.args = > "--with-gdal-config=/Library/Frameworks/GDAL.Framework/unix/bin/gdal-config > --with-proj-include=/Library/Frameworks/PROJ.framework/unix/include-with-proj-lib=/Library/Frameworks/PROJ.framework/unix/lib/", > : > installation of package 'rgdal' had non-zero exit status > > I also tried from terminal using: > > R CMD INSTALL rgdal_0.6-24.tgz > --configure-args='--with-gdal-config=/Library/Frameworks/GDAL.framework/Versions/1.7/Programs/gdal-config > --with-proj-lib=/Library/Frameworks/PROJ.framework/Versions/4.61/unix/lib > --with-proj-include=/Library/Frameworks/PROJ.framework/Versions/4.61/Headers' > rgdal > > ...it runs with the following output: > > * installing to library /Users/vis010/Library/R/2.11/library > * installing *binary* package rgdal ... > > * DONE (rgdal) > > * installing *binary* package rgdal ... > > * DONE (rgdal) > > However, when I go to R64 I get the following: > > Loading required package: sp > Error in dyn.load(file, DLLpath = DLLpath, ...) : > unable to load shared library > '/Users/vis010/Library/R/2.11/library/rgdal/libs/x86_64/rgdal.so': > dlopen(/Users/vis010/Library/R/2.11/library/rgdal/libs/x86_64/rgdal.so, > 6): Library not loaded: > /Library/Frameworks/R.framework/Versions/2.10/Resources/lib/libR.dylib > Referenced from: > /Users/vis010/Library/R/2.11/library/rgdal/libs/x86_64/rgdal.so > Reason: image not found > Error: package/namespace load failed for 'rgdal' > > I searched thru the list but cold not find much on this. > > Any help will be appreciated, > > Best wishes > > Raphael. > > > > R-SIG-Mac@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > > > [[alternative HTML version deleted]] > > > _______________________________________________ > R-SIG-Mac mailing list > R-SIG-Mac@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > > [[alternative HTML version deleted]]
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac