[R-sig-Geo] error in loading rgdal
hanas at u.washington.edu
hanas at u.washington.edu
Wed Jul 6 00:22:05 CEST 2005
Would anybody have an advice on the following error when loading rgdal?
> library(rgdal)
Loading required package: abind
Loading required package: pixmap
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
'/net/home/hana/lib/rgdal/libs/rgdal.so':
/net/home/hana/lib/rgdal/libs/rgdal.so: undefined symbol:
_ZN14GDALRasterBand17GetRasterDataTypeEv
Error in library(rgdal) : .First.lib failed for 'rgdal'
It is installed on Debian Sarge, Kernel 2.4.26-om1. GDAL is installed from
sources via FWTools-linux-0.9.8 which seems to work:
$ gdalinfo --version
GDAL 1.2.6.0, released 2005/03/13
and
$ ldd /net/home/hana/lib/rgdal/libs/rgdal.so
libgdal.so.1 => /net/home/hana/lib/FWTools-linux-0.9.8/lib/libgdal.so.1 (0x40006000)
libR.so => /net/home/hana/lib/libR.so (0x4076c000)
libstdc++.so.5 => /net/home/hana/lib/FWTools-linux-0.9.8/lib/libstdc++.so.5 (0x40776000)
libm.so.6 => /lib/libm.so.6 (0x40823000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40845000)
libc.so.6 => /lib/libc.so.6 (0x4084e000)
libpq.so.2 => /net/home/hana/lib/FWTools-linux-0.9.8/lib/libpq.so.2 (0x40981000)
libgeos.so.2 => /net/home/hana/lib/FWTools-linux-0.9.8/lib/libgeos.so.2 (0x4098f000)
libxerces-c.so.26 => /net/home/hana/lib/FWTools-linux-0.9.8/lib/libxerces-c.so.26 (0x40a8d000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40dc3000)
libNCSEcw.so => /net/home/hana/lib/FWTools-linux-0.9.8/lib/libNCSEcw.so (0x40e14000)
libogdi31.so => /net/home/hana/lib/FWTools-linux-0.9.8/lib/libogdi31.so (0x40f53000)
libjpeg.so => /net/home/hana/lib/FWTools-linux-0.9.8/lib/libjpeg.so (0x40f70000)
libgeotiff.so => /net/home/hana/lib/FWTools-linux-0.9.8/lib/libgeotiff.so (0x40f8d000)
libtiff.so.3 => /net/home/hana/lib/FWTools-linux-0.9.8/lib/libtiff.so.3 (0x40fb2000)
libpng.so.2 => /net/home/hana/lib/FWTools-linux-0.9.8/lib/libpng.so.2 (0x40ff9000)
libgrass5.so.0 => /net/home/hana/lib/FWTools-linux-0.9.8/lib/libgrass5.so.0 (0x41023000)
libz.so => /net/home/hana/lib/FWTools-linux-0.9.8/lib/libz.so (0x410a9000)
libdl.so.2 => /lib/libdl.so.2 (0x410bb000)
libkdu.so => /net/home/hana/lib/FWTools-linux-0.9.8/lib/libkdu.so (0x410be000)
libcurl.so.2 => /net/home/hana/lib/FWTools-linux-0.9.8/lib/libcurl.so.2 (0x41137000)
libsqlite3.so.0 => /net/home/hana/lib/FWTools-linux-0.9.8/lib/libsqlite3.so.0 (0x41156000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x41199000)
libresolv.so.2 => /lib/libresolv.so.2 (0x411c6000)
libnsl.so.1 => /lib/libnsl.so.1 (0x411d8000)
librt.so.1 => /lib/librt.so.1 (0x411ee000)
libNCSCNet.so => /net/home/hana/lib/FWTools-linux-0.9.8/lib/libNCSCNet.so (0x41201000)
libNCSUtil.so => /net/home/hana/lib/FWTools-linux-0.9.8/lib/libNCSUtil.so (0x4121b000)
libexpat_ogdi31.so => /net/home/hana/lib/FWTools-linux-0.9.8/lib/libexpat_ogdi31.so (0x4122e000)
libproj.so.0 => /net/home/hana/lib/FWTools-linux-0.9.8/lib/libproj.so.0 (0x4124f000)
Thanks for any help,
Hana
More information about the R-sig-Geo
mailing list