R包:RCurl和curl包在Linux上安装失败
发布时间:2020-12-14 01:44:06 所属栏目:Linux 来源:网络整理
导读:我希望你能为我在为R安装RCurl和卷曲包时遇到的这个问题提供帮助. Rd warning: /tmp/RtmpOBkvFC/R.INSTALLd07e6c06faf4/RCurl/man/url.exists.Rd:5: missing file link ‘file.exists’** building package indices** testing if installed package can be l
我希望你能为我在为R安装RCurl和卷曲包时遇到的这个问题提供帮助.
Rd warning: /tmp/RtmpOBkvFC/R.INSTALLd07e6c06faf4/RCurl/man/url.exists.Rd:5: missing file link ‘file.exists’ ** building package indices ** testing if installed package can be loaded Error in dyn.load(file,DLLpath = DLLpath,...) : unable to load shared object '/home/majaidi/R/x86_64-redhat-linux-gnu-library/3.1/RCurl/libs/RCurl.so': /lib64/libgssapi_krb5.so.2: symbol krb5int_buf_len,version krb5support_0_MIT not defined in file libkrb5support.so.0 with link time reference Error: loading failed Execution halted ERROR: loading failed * removing ‘/home/majaidi/R/x86_64-redhat-linux-gnu-library/3.1/RCurl’ The downloaded source packages are in ‘/tmp/RtmpX6poG4/downloaded_packages’ Warning message: In install.packages(pkgs = pkgs,lib = lib,repos = repos,...) : installation of package ‘RCurl’ had non-zero exit status` 解决方法
看起来你有不同版本的libcurl.
一个approch可能是以下一个(对于您的控制台): wget https://cran.r-project.org/src/contrib/curl_0.9.7.tar.gz R CMD INSTALL curl_0.9.7.tar.gz --no-test-load ldd /home/majaidi/R/x86_64-redhat-linux-gnu-library/3.1/curl/libs/curl.so 然后,您可以使用ldd libcurl.so来查找所有依赖项和共享库. 祝好运!J_F (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |