[R-sig-Geo] rgdal install fails (following GDAL building from source)

Pierre Roudier pierre.roudier at gmail.com
Mon Jul 19 08:39:55 CEST 2010


Dear all,

I'm using the (excellent) rgdal package for a while now, but following
the build from source of the last GDAL stable release, I can not
reinstall it.

When I'm asking for install.packages("rgdal"), I got the following error:

Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared library '/usr/lib64/R/library/rgdal/libs/rgdal.so':
  libgdal.so.1: cannot open shared object file: No such file or directory

>From some internet search, I understand that it is possibly due to a
change in where GDAL has been installed, but I've been unsuccessful to
fix that so far.

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



More information about the R-sig-Geo mailing list