oblarquez / paleofire

paleofire package
13 stars 2 forks source link

Cannot install anymore with libgdal.so.30 instead of libgdal.so.29 ? #9

Open iago-lito opened 2 years ago

iago-lito commented 2 years ago

Hello. I could not install the package today, with the following errors:

> install.packages('paleofire')
Installing package into ‘/opt/R_packages’
(as ‘lib’ is unspecified)
trying URL 'http://cran.rstudio.com/src/contrib/paleofire_1.2.4.tar.gz'
Content type 'application/x-gzip' length 3535253 bytes (3.4 MB)
==================================================
downloaded 3.4 MB

* installing *source* package ‘paleofire’ ...
** package ‘paleofire’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
** demo
** inst
** byte-compile and prepare package for lazy loading
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/opt/R_packages/rgdal/libs/rgdal.so':
  libgdal.so.29: cannot open shared object file: No such file or directory
Calls: <Anonymous> ... namespaceImport -> loadNamespace -> library.dynam -> dyn.load
No traceback available 
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘paleofire’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/opt/R_packages/rgdal/libs/rgdal.so':
  libgdal.so.29: cannot open shared object file: No such file or directory
Error: loading failed
No traceback available 
** testing if installed package can be loaded from final location
Error: package or namespace load failed for ‘paleofire’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/opt/R_packages/rgdal/libs/rgdal.so':
  libgdal.so.29: cannot open shared object file: No such file or directory
Error: loading failed
No traceback available 
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/opt/R_packages/rgdal/libs/rgdal.so':
  libgdal.so.29: cannot open shared object file: No such file or directory
Calls: <Anonymous> ... namespaceImport -> loadNamespace -> library.dynam -> dyn.load
2: stop("loading failed", call. = FALSE)
1: tools:::.test_load_package("paleofire", "/opt/R_packages")
** testing if installed package keeps a record of temporary installation path
* DONE (paleofire)

I have gdal installed, but a later version I think:

$ pacman -Qi gdal
Name            : gdal
Version         : 3.4.0-2
Description     : A translator library for raster geospatial data formats
Architecture    : x86_64
URL             : https://gdal.org/
Licenses        : custom
Groups          : None
Provides        : None
Depends On      : curl  geos  giflib  hdf5  libgeotiff  libjpeg-turbo  libpng  libspatialite  libtiff  netcdf  openjpeg2  poppler  cfitsio  sqlite  mariadb-libs  postgresql-libs  xerces-c
                  json-c
Optional Deps   : postgresql: postgresql database support [installed]
                  mariadb: mariadb database support [installed]
                  perl: perl binding support [installed]
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 29.99 MiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : Fri 07 Jan 2022 12:08:51 PM CET
Install Date    : Sun 09 Jan 2022 11:48:06 AM CET
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

$ locate libgdal
...
/usr/lib/libgdal.so
/usr/lib/libgdal.so.30
/usr/lib/libgdal.so.30.0.0
...

Can the required version be bumped one number up?