/usr/bin/ld: /usr/local/lib/libcurl.a(libcurl_la-url.o): relocation R_X86_64_PC32 against symbol `stdout@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: 最后的链结失败: 错误的值
collect2: error: ld returned 1 exit status
/usr/share/R/share/make/shlib.mk:6: recipe for target 'RCurl.so' failed
make: *** [RCurl.so] Error 1
ERROR: compilation failed for package ‘RCurl’
* removing ‘/usr/local/lib/R/site-library/RCurl’
下载的程序包在
‘/tmp/RtmpSab1aG/downloaded_packages’里
Warning message:
In install.packages("RCurl") : 安装程序包‘RCurl’时退出狀態的值不是0
可能是和这篇文章中提到的问题类似吧
https://blog.csdn.net/alickr/article/details/89646723
但我查找CMakeLists.txt文档有很多,逐一打开并没有找到类似的插入行