[R-sig-Geo] [R] Drawing Maps of detailed Australian regions

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Fri Dec 17 11:45:05 CET 2010


On Fri, Dec 17, 2010 at 9:36 AM, Jim Lemon <jim at bitwrit.com.au> wrote:
> On 12/16/2010 07:52 PM, Jim Lemon wrote:

>  unable to load shared library
> '/usr/local/lib/R/library/rgdal/libs/rgdal.so':
>  libgdal.so: cannot open shared object file: No such file or directory
> Error: package/namespace load failed for 'rgdal'
>
> but when I looked:
>
>  ls -l /usr/local/lib/R/library/rgdal/libs/rgdal.so
> -rwxr-xr-x. 1 root root 261049 2010-12-16 19:42
> /usr/local/lib/R/library/rgdal/libs/rgdal.so
>

 The  error message is that libgdal.so cannot be found - this is the
GDAL C-level binary library, whereas
/usr/local/lib/R/library/rgdal/libs/rgdal.so is the R code that
interfaces to libgdal.so.

 R tries to load rgdal.so, rgdal.so tries to load libgdal.so, can't
find it, fails.

Sadly it doesn't say where it's looking for it. Can you find
libgdal.so anywhere?

Barry



More information about the R-sig-Geo mailing list