16EAGLE / getSpatialData

An R package 📦 making it easy to query, preview, download and preprocess multiple kinds of spatial data 🛰 via R. All beta.
https://jakob.schwalb-willmann.de/getSpatialData
GNU General Public License v3.0
303 stars 64 forks source link

Install fails with "Error...symbol not found" #53

Open micha-silver opened 4 years ago

micha-silver commented 4 years ago

I'm trying to install the package on Debian 10:

> sessionInfo()
R version 3.5.2 (2018-12-20)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 10 (buster)

Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/atlas/libblas.so.3.10.3
LAPACK: /usr/lib/x86_64-linux-gnu/atlas/liblapack.so.3.10.3

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_IL.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_IL.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_IL.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

and I then get many lines with errors when the installation tries to load the package:

> devtools::install_github("16EAGLE/getSpatialData")
Downloading GitHub repo 16EAGLE/getSpatialData@master
✔  checking for file ‘/tmp/RtmpyjMxMl/remotes662a762d7549/16EAGLE-getSpatialData-2525bf2/DESCRIPTION’ ...
─  preparing ‘getSpatialData’:
✔  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  looking to see if a ‘data/datalist’ file should be added
─  building ‘getSpatialData_0.0.4.tar.gz’

Installing package into ‘/home/micha/R/x86_64-pc-linux-gnu-library/3.5’
(as ‘lib’ is unspecified)
* installing *source* package ‘getSpatialData’ ...
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error relocating /usr/lib/x86_64-linux-gnu/libsqlite3.so.0: __memcpy_chk: symbol not found
Error relocating /usr/lib/x86_64-linux-gnu/libsqlite3.so.0: __memset_chk: symbol not found
Error relocating /usr/lib/x86_64-linux-gnu/libsqlite3.so.0: fcntl64: symbol not found
Error relocating /usr/lib/x86_64-linux-gnu/libexpat.so.1: __fprintf_chk: symbol not found
Error relocating /usr/lib/x86_64-linux-gnu/libexpat.so.1: getrandom: symbol not found
Error relocating /usr/lib/x86_64-linux-gnu/libopenjp2.so.7: __vsnprintf_chk: symbol not found
Error relocating /usr/lib/x86_64-linux-gnu/libopenjp2.so.7: __fprintf_chk: symbol not found
Error relocating /usr/lib/x86_64-linux-gnu/libopenjp2.so.7: __sprintf_chk: symbol not found
Error relocating /usr/lib/x86_64-linux-gnu/libgeotiff.so.2: __strcat_chk: symbol not found
Error relocating /usr/lib/x86_64-linux-gnu/libgeotiff.so.2: __vfprintf_chk: symbol not found
Error relocating /usr/lib/x86_64-linux-gnu/libgeotiff.so.2: __fprintf_chk: symbol not found
Error relocating /usr/lib/x86_64-linux-gnu/libgeotiff.so.2: __vsprintf_chk: symbol not found
Error relocating /usr/lib/x86_64-linux-gnu/libgeotiff.so.2: __sprintf_chk: symbol not found

Any suggestions how to overcome this?

16EAGLE commented 4 years ago

Sorry for the late reply. I am not sure what the reasons are for these errors. Can you try installing the most recent version (0.1.0) and report me if that worked?