oblarquez / paleofire

paleofire package
13 stars 2 forks source link

Cannot install anymore with libpoppler.so.117 instead of libpoppler.so.115? #10

Open iago-lito opened 2 years ago

iago-lito commented 2 years ago

Hello again. I have been able to work around #9 by downgrading my installation of gdal.. but then I think I ran into this another version problem

> 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':
  libpoppler.so.115: 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':
  libpoppler.so.115: 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':
  libpoppler.so.115: 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':
  libpoppler.so.115: 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)

The downloaded source packages are in
    ‘/tmp/Rtmpi4CXnq/downloaded_packages’

poppler is installed on my system, but a later version I think.

$ pacman -Qi
Name            : poppler
Version         : 22.01.0-1
Description     : PDF rendering library based on xpdf 3.0
Architecture    : x86_64
URL             : https://poppler.freedesktop.org/
Licenses        : GPL
Groups          : None
Provides        : libpoppler.so=117-64  libpoppler-cpp.so=0-64
Depends On      : libjpeg  gcc-libs  cairo  fontconfig  openjpeg2  lcms2  nss  curl
Optional Deps   : poppler-data: highly recommended encoding data to display PDF documents with certain encodings and characters [installed]
Required By     : cups-filters  gdal  libreoffice-fresh  poppler-glib  poppler-qt5  texlive-bin
Optional For    : None
Conflicts With  : poppler-qt3<22.01.0  poppler-qt4<22.01.0
Replaces        : None
Installed Size  : 5.94 MiB
Packager        : Andreas Radke <andyrtr@archlinux.org>
Build Date      : Fri 07 Jan 2022 11:59:44 AM CET
Install Date    : Sun 09 Jan 2022 11:48:06 AM CET
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

$ locate libpoppler
/usr/lib/libpoppler-cpp.so
/usr/lib/libpoppler-cpp.so.0
/usr/lib/libpoppler-cpp.so.0.9.0
/usr/lib/libpoppler-glib.so
/usr/lib/libpoppler-glib.so.8
/usr/lib/libpoppler-glib.so.8.22.0
/usr/lib/libpoppler-qt5.so
/usr/lib/libpoppler-qt5.so.1
/usr/lib/libpoppler-qt5.so.1.30.0
/usr/lib/libpoppler.so
/usr/lib/libpoppler.so.117
/usr/lib/libpoppler.so.117.0.0

Can the version number for poppler also be bumped up?