有没有人有什么好主意为什么会发生这种情况?我以 root 身份运行 R。这是版本:
version _
platform x86_64-redhat-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 3
minor 0.1
year 2013
month 05
day 16
svn rev 62743
language R
version.string R version 3.0.1 (2013-05 -16) 昵称 Good Sport
似乎走得很远。无论我是从源代码还是从包安装包,我都会收到此错误:
> ** building package indices
** installing vignettes
‘RProtoBuf-intro.Rnw’
‘RProtoBuf-quickref.Rnw’
‘RProtoBuf-unitTests.Rnw’
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/usr/lib64/R/library/RProtoBuf/libs/RProtoBuf.so':
/usr/lib64/R/library/RProtoBuf/libs/RProtoBuf.so: undefined symbol: _ZN6google8protobuf2io18CopyingInputStream4SkipEi
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/usr/lib64/R/library/RProtoBuf’