I finally got the problem: there was a mistake within my /etc/ld.so.conf.d file that linked the libgdal library into the system.
For the record, my mistake was to put the full path to the file plus the filename: $ cat /etc/ld.so.conf.d/gdal.conf /usr/local/lib/libgdal.so.1 I resolved the problem simply by modifying /etc/ld.so.conf.d/gdal.conf to /usr/local/lib, and ldconfig as su. Pierre 2010/7/19 Roger Bivand <roger.biv...@nhh.no>: > On Mon, 19 Jul 2010, Pierre Roudier wrote: > >>> I think that there is a GDAL plugins directory somewhere in /usr/local - >>> if >>> it is there, it contains a reference to your previous GDAL install, >>> probably >>> called gdalplugins. Try removing it, or changing its name. >> >> Yes, there was a gdalplugins folder in /usr/lib/, containing >> ogr_GRASS.so. I removed the whole folder, but unfortunatley, the same >> error is appearing on compilation of rgdal. > > There must still be messes left around in various places. Does using locate, > for example locate libgdal and locate gdalplugins help? Otherwise remove and > reinstall PROJ.4 and GDAL. Most likely debris after experiments with the > GRASS plugin (and maybe QGIS) are still around. > > Roger > >> >> Thanks anyway, >> >> Pierre >> >>> >>> Roger >>> >>>> >>>> Thanks again, >>>> >>>> Pierre >>>> >>>> >>>>> >>>>> Roger >>>>> >>>>>> >>>>>> Thanks for the help, >>>>>> >>>>>> Pierre >>>>>> >>>>>>> >>>>>>> Hope this helps, >>>>>>> >>>>>>> Roger >>>>>>> >>>>>>>> >>>>>>>> Thanks for any hints. >>>>>>>> >>>>>>>> Here is my config: >>>>>>>> >>>>>>>> uname -a >>>>>>>> Linux 2.6.33.6-147.fc13.x86_64 #1 SMP Tue Jul 6 22:32:17 UTC 2010 >>>>>>>> x86_64 x86_64 x86_64 GNU/Linux >>>>>>>> >>>>>>>> Distro : Fedora 13 x86_64 (running KDE) >>>>>>>> >>>>>>>> gdalinfo --version >>>>>>>> GDAL 1.7.2, released 2010/04/23 >>>>>>>> >>>>>>>> The infamous libgdal.so file is located in /usr/local/lib/ >>>>>>>> >>>>>>>> sessionInfo() >>>>>>>> R version 2.11.1 (2010-05-31) >>>>>>>> x86_64-redhat-linux-gnu >>>>>>>> >>>>>>>> locale: >>>>>>>> [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C >>>>>>>> [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 >>>>>>>> [5] LC_MONETARY=C LC_MESSAGES=en_US.UTF-8 >>>>>>>> [7] LC_PAPER=en_US.UTF-8 LC_NAME=C >>>>>>>> [9] LC_ADDRESS=C LC_TELEPHONE=C >>>>>>>> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C >>>>>>>> >>>>>>>> attached base packages: >>>>>>>> [1] stats graphics grDevices utils datasets methods base >>>>>>>> >>>>>>>> loaded via a namespace (and not attached): >>>>>>>> [1] tcltk_2.11.1 tools_2.11.1 >>>>>>>> >>>>>>>> Cheers, >>>>>>>> >>>>>>>> Pierre >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> R-sig-Geo mailing list >>>>>>>> R-sig-Geo@stat.math.ethz.ch >>>>>>>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Roger Bivand >>>>>>> Economic Geography Section, Department of Economics, Norwegian School >>>>>>> of >>>>>>> Economics and Business Administration, Helleveien 30, N-5045 Bergen, >>>>>>> Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 >>>>>>> e-mail: roger.biv...@nhh.no >>>>>>> >>>>>>> >>>>>> >>>>> >>>>> -- >>>>> Roger Bivand >>>>> Economic Geography Section, Department of Economics, Norwegian School >>>>> of >>>>> Economics and Business Administration, Helleveien 30, N-5045 Bergen, >>>>> Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 >>>>> e-mail: roger.biv...@nhh.no >>>>> >>>>> >>>> >>> >>> -- >>> Roger Bivand >>> Economic Geography Section, Department of Economics, Norwegian School of >>> Economics and Business Administration, Helleveien 30, N-5045 Bergen, >>> Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 >>> e-mail: roger.biv...@nhh.no >>> >>> >> > > -- > Roger Bivand > Economic Geography Section, Department of Economics, Norwegian School of > Economics and Business Administration, Helleveien 30, N-5045 Bergen, > Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 > e-mail: roger.biv...@nhh.no > _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo