Hi,
I get an error that I can't resolve when loading library 'rgdal':
Error: package or namespace load failed for ‘rgdal’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/usr/local/lib/R/site-library/rgdal/libs/rgdal.so':
/usr/lib/x86_64-linux-gnu/libstdc++.so.6: cannot allocate memory in static TLS block
The strange thing is that I can load rgdal without errors from a clean R-console. Sort of lost here. I've copied some info that might be useful.
-------------------------------------------------------------------------------
Eclipse:
* Version: 2020-06 (4.16.0)
* Build id: 20200615-1200
StatET:
* Provider: Eclipse StatET
* Feature name: StatET R (Incubation)
* Varsion: 4.2.4.202103250600-r
* rj.gd_4.0.1-3
* rj_4.0.1-4
Other potentially useful info:
~$ uname -a
Linux darkstar 5.4.0-72-generic #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
~$ java -version
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)
R> sessionInfo()
R version 3.6.3 (2020-02-29)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Linux Mint 20
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=sv_SE.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=sv_SE.UTF-8 LC_NAME=sv_SE.UTF-8
[9] LC_ADDRESS=sv_SE.UTF-8 LC_TELEPHONE=sv_SE.UTF-8
[11] LC_MEASUREMENT=sv_SE.UTF-8 LC_IDENTIFICATION=sv_SE.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] rj.gd_4.0.1-3 sp_1.4-5 rj_4.0.1-4
loaded via a namespace (and not attached):
[1] compiler_3.6.3 magrittr_2.0.1 class_7.3-19 DBI_1.1.1
[5] tools_3.6.3 units_0.7-1 proxy_0.4-25 Rcpp_1.0.6
[9] KernSmooth_2.23-20 grid_3.6.3 e1071_1.7-6 classInt_0.4-3
[13] lattice_0.20-44