找不到共享对象'RCurl.so'

时间:2015-07-20 23:52:39

标签: r ubuntu-12.04 libcurl rcurl

关于我的系统的数据

  • R版本3.2.1(2015-06-18)(世界着名宇航员)
  • Ubuntu 12.04 LTS

$ locate RCurl.so

~/R/i686-pc-linux-gnu-library/2.15/RCurl/libs/RCurl.so
~/R/i686-pc-linux-gnu-library/3.0/RCurl/libs/RCurl.so
~/R/i686-pc-linux-gnu-library/3.1/RCurl/libs/RCurl.so
/usr/local/lib/R/site-library/RCurl/libs/RCurl.so

$ r -pie '.libPaths()'

[1] "~/R/i686-pc-linux-gnu-library/3.2"
[2] "/usr/local/lib/R/site-library"           
[3] "/usr/lib/R/site-library"                 
[4] "/usr/lib/R/library"

$ R CMD ldd /usr/local/lib/R/site-library/RCurl/libs/RCurl.so

    linux-gate.so.1 =>  (0xb7734000)
    libcurl-gnutls.so.4 => /usr/lib/i386-linux-gnu/libcurl-gnutls.so.4 (0xb7696000)
    libR.so => /usr/lib/R/lib/libR.so (0xb7319000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb716f000)
    libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb7151000)
    libidn.so.11 => /usr/lib/i386-linux-gnu/libidn.so.11 (0xb711d000)
    liblber-2.4.so.2 => /usr/lib/i386-linux-gnu/liblber-2.4.so.2 (0xb710e000)
    libldap_r-2.4.so.2 => /usr/lib/i386-linux-gnu/libldap_r-2.4.so.2 (0xb70bc000)
    librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb70b2000)
    libgssapi_krb5.so.2 => /usr/lib/i386-linux-gnu/libgssapi_krb5.so.2 (0xb7075000)
    libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb705f000)
    libgnutls.so.26 => /usr/lib/i386-linux-gnu/libgnutls.so.26 (0xb6f9a000)
    libgcrypt.so.11 => /lib/i386-linux-gnu/libgcrypt.so.11 (0xb6f14000)
    librtmp.so.0 => /usr/lib/i386-linux-gnu/librtmp.so.0 (0xb6ef9000)
    libblas.so.3gf => /usr/lib/libblas.so.3gf (0xb6c24000)
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb6bf8000)
    libreadline.so.6 => /lib/i386-linux-gnu/libreadline.so.6 (0xb6bbe000)
    libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xb6b82000)
    liblzma.so.5 => /usr/lib/i386-linux-gnu/liblzma.so.5 (0xb6b5a000)
    libbz2.so.1.0 => /lib/i386-linux-gnu/libbz2.so.1.0 (0xb6b49000)
    libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb6b44000)
    libgomp.so.1 => /usr/lib/i386-linux-gnu/libgomp.so.1 (0xb6b21000)
    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb6b06000)
    /lib/ld-linux.so.2 (0xb7735000)
    libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0xb6aed000)
    libsasl2.so.2 => /usr/lib/i386-linux-gnu/libsasl2.so.2 (0xb6ad1000)
    libgssapi.so.3 => /usr/lib/i386-linux-gnu/libgssapi.so.3 (0xb6a94000)
    libkrb5.so.3 => /usr/lib/i386-linux-gnu/libkrb5.so.3 (0xb69c5000)
    libk5crypto.so.3 => /usr/lib/i386-linux-gnu/libk5crypto.so.3 (0xb699d000)
    libcom_err.so.2 => /lib/i386-linux-gnu/libcom_err.so.2 (0xb6997000)
    libkrb5support.so.0 => /usr/lib/i386-linux-gnu/libkrb5support.so.0 (0xb698e000)
    libtasn1.so.3 => /usr/lib/i386-linux-gnu/libtasn1.so.3 (0xb697c000)
    libp11-kit.so.0 => /usr/lib/i386-linux-gnu/libp11-kit.so.0 (0xb696a000)
    libgpg-error.so.0 => /lib/i386-linux-gnu/libgpg-error.so.0 (0xb6965000)
    libgfortran.so.3 => /usr/lib/i386-linux-gnu/libgfortran.so.3 (0xb6856000)
    libtinfo.so.5 => /lib/i386-linux-gnu/libtinfo.so.5 (0xb6837000)
    libheimntlm.so.0 => /usr/lib/i386-linux-gnu/libheimntlm.so.0 (0xb682f000)
    libkrb5.so.26 => /usr/lib/i386-linux-gnu/libkrb5.so.26 (0xb67ac000)
    libasn1.so.8 => /usr/lib/i386-linux-gnu/libasn1.so.8 (0xb6707000)
    libhcrypto.so.4 => /usr/lib/i386-linux-gnu/libhcrypto.so.4 (0xb66d1000)
    libroken.so.18 => /usr/lib/i386-linux-gnu/libroken.so.18 (0xb66bb000)
    libkeyutils.so.1 => /lib/i386-linux-gnu/libkeyutils.so.1 (0xb66b7000)
    libquadmath.so.0 => /usr/lib/i386-linux-gnu/libquadmath.so.0 (0xb6624000)
    libwind.so.0 => /usr/lib/i386-linux-gnu/libwind.so.0 (0xb65fb000)
    libheimbase.so.1 => /usr/lib/i386-linux-gnu/libheimbase.so.1 (0xb65eb000)
    libhx509.so.5 => /usr/lib/i386-linux-gnu/libhx509.so.5 (0xb65a4000)
    libsqlite3.so.0 => /usr/lib/i386-linux-gnu/libsqlite3.so.0 (0xb64ff000)
    libcrypt.so.1 => /lib/i386-linux-gnu/libcrypt.so.1 (0xb64ce000)

(注意:Got message unable to load shared object stats.so when R starts中建议没有???错误。)

问题描述&我尝试了什么

我显然有几个RCurl.so个对象,但当我尝试install.packages('RCurl')进入~/R/i686-pc-linux-gnu-library/3.2/RCurl/时,我收到以下错误:

Error in library.dynam(lib, package, package.lib) : 
  shared object ‘RCurl.so’ not found
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘~/R/i686-pc-linux-gnu-library/3.2/RCurl’

The downloaded source packages are in
        ‘/tmp/user/1001/RtmpVJ2RYv/downloaded_packages’

使用旧的library.dynam()之一运行RCurl.so也不起作用。

我也试过R CMD INSTALL [path to downloaded omega-hat source].tar.gz。同样的错误。

问题

在互联网上环顾四周似乎有lot of people共享对象问题。但我不能告诉那些回答他们的人,我需要做什么,甚至是我需要阅读的帮助文件。我想我已经完成了?install.packages?INSTALL中的大多数/每一个论点。

这里还有什么可能出错?

0 个答案:

没有答案