Der*_*ran 6 r rgdal r-sf ubuntu-18.04
我试图在我的 Ubuntu 18.04 机器上再次安装 SF,因为它给了我一些问题。由于我想开始一切清理,我尝试了以下操作:
remove.packages("sf")
install.packages("sf")
Run Code Online (Sandbox Code Playgroud)
然而,这导致了以下错误。
checking GDAL: checking whether PROJ is available fur running:... double free or corruption (out)
./configure: line 3625: 20789 Aborted (core dumped) ./gdal_proj
no
configure: error: OGRCoordinateTransformation() does not return a coord.trans: PROJ not available?
ERROR: configuration failed for package ‘sf’
* removing ‘/home/derek/R/x86_64-pc-linux-gnu-library/3.6/sf’
Run Code Online (Sandbox Code Playgroud)
当我看到消息double free or corruption (out) 时,我查看并意识到这是一个 c++ 问题,如此链接和此链接所示。但即使我知道问题应该出在 PROJ 中,我什至不知道从哪里开始。
我尝试重新安装 rgdal 以查看是否像上面一样神奇地解决了问题
remove.packages("rgdal")
install.packages("rgdal")
Run Code Online (Sandbox Code Playgroud)
这导致了类似的结果
** testing if installed package can be loaded from temporary location
double free or corruption (!prev)
Aborted (core dumped)
Run Code Online (Sandbox Code Playgroud)
我不知道如何通过终端到达 PROJ。
任何帮助将不胜感激
只是在 Nate 发表评论后更新。我重新安装了 PROJ,它保持相同的错误,只是为了向您展示更多错误,这是消息:
checking GDAL: checking whether PROJ is available for linking:... yes
checking GDAL: checking whether PROJ is available fur running:... double free or corruption (out)
./configure: line 3625: 22371 Aborted (core dumped) ./gdal_proj
no
configure: error: OGRCoo
Run Code Online (Sandbox Code Playgroud)
所以它说 PROJ 可用,但存在损坏,我不知道如何解决这个问题,我应该卸载一些东西吗?
| 归档时间: |
|
| 查看次数: |
580 次 |
| 最近记录: |