Hi, I resolved partially my problem, by adding the path of the grass library where is located libgrass_I.so. So I add the following line to my .bashrc file: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr.lib/grass/lib Now, I can install and load rgdal and GeoXp libraries from R.
Thanks for your help. Emmanuel Poizot Roger Bivand wrote: > > The problem is that the binary Ubuntu install of gdal has not made sure > that its dependencies are properly satisfied, so you'll need to do this > manually. You can also make sure that the directory the GRASS libraries > are found in is seen by ldconfig, either that or making sure that your > running R sees LD_LIBRARY_PATH. This is a very detailed question, more > suited to GRASS or GDAL lists, or R-sig-geo. You'll see when you have the > solution because the GDAL utilities will work at the shell, for example > gdalinfo --formats - I think that it doesn't at the moment. > > Roger Bivand > > > epoizot wrote: >> >> >> >> Zeljko Vrba wrote: >>> >>> On Wed, Jun 10, 2009 at 08:21:06AM +0200, Poizot Emmanuel wrote: >>>> Error in fun(...) : >>>> GDAL Error 1: libgrass_I.so: Ne peut ouvrir le fichier d'objet >>>> partagé: Aucun fichier ou dossier de ce type (sorry for the french :) >>>> ) >>>> >>> >>> It would have been far more useful had you translated the error message >>> to >>> english than to have apologized. >>> >>> Try doing >>> >>> export LD_LIBRARY_PATH=/path/to/dir/where/so/is/located >>> >>> before starting R from the shell. >>> >>> ______________________________________________ >>> R-help@r-project.org mailing list >>> https://stat.ethz.ch/mailman/listinfo/r-help >>> PLEASE do read the posting guide >>> http://www.R-project.org/posting-guide.html >>> and provide commented, minimal, self-contained, reproducible code. >>> >>> >> >> Hi, >> >> I tried this but with no success. Still enable to load the library rgdal >> and so GeoXp. >> This problem of for me now of high importance as I need to export >> interpolated data sets to grids. and rgdal allows that kind of >> operations. >> Regards >> > > -- View this message in context: http://www.nabble.com/GeoXp-package-tp23964536p24219649.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.