[R-sig-Debian] Install rgdal, lazy loading error

Dirk Eddelbuettel edd at debian.org
Wed Oct 17 21:14:12 CEST 2012


On 17 October 2012 at 14:19, Ben Weinstein wrote:
| Hi all,
| 
| I have successfully made and installed both gdal, and proj.4, but still
| cannot get rgdal to be installed in R. I think i'm very close. I do not
| have root access, if that matters, i've installed everything locally. I'm
| using debian on a beowulf cluster.
| 
| I call:
| 
| install.packages("rgdal", .libPaths()[1], configure.args =
| "--with-gdal-config=/usr/local/pkg/gdal/bin/gdal-config
| --with-proj-include=/nfs/user08/bw4sz/include
| --with-proj-lib=/nfs/user08/bw4sz/lib")
| 
| i've defeated the gdal-config and the api_proj.h file errors that have
| plagued others. Now i believe i've run into a smaller problem.
| 
| The package downloads and installs but it fails the lazy loading test
| 
| 
| ** R
| ** inst
| ** preparing package for lazy loading
| ** help
| *** installing help indices
| ** building package indices ...
| ** testing if installed package can be loaded
| Error in dyn.load(file, DLLpath = DLLpath, ...) :
|   unable to load shared object
| '/nfs/user08/bw4sz/library/rgdal/libs/rgdal.so':
|   libgdal.so.1: cannot open shared object file: No such file or directory

The dynamic linker thinks there should be a file (or a softlink) resolve
libgdal.so.1, yet there is none.

You need to address that issue.

Dirk

| Error: loading failed
| 
| with the R.Version()
| 
| > R.Version()
| $platform
| [1] "x86_64-unknown-linux-gnu"
| 
| $arch
| [1] "x86_64"
| 
| $os
| [1] "linux-gnu"
| 
| $system
| [1] "x86_64, linux-gnu"
| 
| $status
| [1] ""
| 
| $major
| [1] "2"
| 
| $minor
| [1] "14.2"
| 
| $year
| [1] "2012"
| 
| $month
| [1] "02"
| 
| $day
| [1] "29"
| 
| $`svn rev`
| [1] "58522"
| 
| $language
| [1] "R"
| 
| $version.string
| [1] "R version 2.14.2 (2012-02-29)"
| 
| Any thoughts are appreciated,
| 
| Best,
| 
| ben
| 
| please forgive cross-posting on R-sig geo for those who subscribe to both.
| 
| Ben Weinstein
| Graduate Student
| Ecology and Evolution
| Stony Brook University
| 
| http://life.bio.sunysb.edu/~bweinste/index.html
| 
| 	[[alternative HTML version deleted]]
| 
| _______________________________________________
| R-SIG-Debian mailing list
| R-SIG-Debian at r-project.org
| https://stat.ethz.ch/mailman/listinfo/r-sig-debian

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com



More information about the R-SIG-Debian mailing list