Rgdal包安装麻烦

时间:2016-09-19 12:54:59

标签: r installation rgdal

我需要你帮助解决这个特殊问题。

我正在尝试安装Rgdal软件包,但我似乎无法通过安装。一开始输出似乎很正常(据我所知)。

* installing *source* package 'rgdal' ...
** package 'rgdal' successfully unpacked and MD5 sums checked
configure: CC: gcc -std=gnu99
configure: CXX: g++
configure: rgdal: 1.1-10
checking for /usr/bin/svnversion... no
configure: svn revision: 622
checking for gdal-config... /afs/ics.muni.cz/software/R-3.0.3/bin/gdal- config
checking gdal-config usability... yes
configure: GDAL: 1.10.1
checking GDAL version >= 1.6.3... yes
checking for gcc... gcc -std=gnu99
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -std=gnu99 accepts -g... yes
checking for gcc -std=gnu99 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking gdal.h usability... yes
checking gdal.h presence... yes
checking for gdal.h... yes
checking gdal: linking with --libs only... no
checking gdal: linking with --libs and --dep-libs... no

然后它给了我一条警告信息:

/usr/bin/ld: warning: libhdf5.so.6, needed by /software/R-3.0.3 lib/libgdal.so, not found (try using -rpath or -rpath-link)

然后继续提供一长串未定义的引用:

/software/R-3.0.3/lib/libgdal.so: undefined reference to `H5Dread'
/software/R-3.0.3/lib/libgdal.so: undefined reference to `H5Dget_create_plist'
/software/R-3.0.3/lib/libgdal.so: undefined reference to `H5Pclose'
/software/R-3.0.3/lib/libgdal.so: undefined reference to `H5Sget_simple_extent_ndims'

我会永远感激任何帮助或建议,因为我真的不明白出了什么问题。看起来这个问题没有产生任何有用的结果。

0 个答案:

没有答案