Dear All, I have just upgraded to Debian stable 10 and rebuilt most of the R packages. I use the R backported packages from here https://cran.r-project.org/bin/linux/debian/#debian-buster-testing for the core system. I encounter some issues when updating quantmod, tseries and forecast. For instance, see the following> install.packages("tseries")which finally fails with the following message ** byte-compile and prepare package for lazy loading Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/usr/local/lib/R/site-library/curl/libs/curl.so': /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /usr/local/lib/R/site-library/curl/libs/curl.so) Calls: <Anonymous> ... asNamespace -> loadNamespace -> library.dynam -> dyn.load Execution halted ERROR: lazy loading failed for package ?tseries? * removing ?/usr/local/lib/R/site-library/tseries? * restoring previous ?/usr/local/lib/R/site-library/tseries? Now I have curl44 installed on my system because that is what Debian prrovides me with (and for the overwhelming majority of my packages it is not a problem). Please find below my sessionInfo(). Any suggestion is appreciated. Cheers Lorenzo> sessionInfo()R version 3.6.0 (2019-04-26) 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/blas/libblas.so.3.8.0 LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.8.0 locale: [1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8 [5] LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 [7] LC_PAPER=en_GB.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] compiler_3.6.0 tools_3.6.0
Hi Lorenzo, On Sun, Jul 7, 2019 at 6:42 AM Lorenzo Isella <lorenzo.isella at gmail.com> wrote:> > Dear All, > I have just upgraded to Debian stable 10 and rebuilt most of the R > packages. > I use the R backported packages from here > > https://cran.r-project.org/bin/linux/debian/#debian-buster-testing > > for the core system. > I encounter some issues when updating quantmod, tseries and forecast. > For instance, see the following > > > install.packages("tseries") > > which finally fails with the following message > > ** byte-compile and prepare package for lazy loading > Error in dyn.load(file, DLLpath = DLLpath, ...) : > unable to load shared object '/usr/local/lib/R/site-library/curl/libs/curl.so': > /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /usr/local/lib/R/site-library/curl/libs/curl.so) > Calls: <Anonymous> ... asNamespace -> loadNamespace -> library.dynam -> dyn.load > Execution halted > ERROR: lazy loading failed for package ?tseries? > * removing ?/usr/local/lib/R/site-library/tseries? > * restoring previous ?/usr/local/lib/R/site-library/tseries? > > Now I have curl44 installed on my system because that is what Debian > prrovides me with (and for the overwhelming majority of my packages it > is not a problem). > Please find below my sessionInfo(). > Any suggestion is appreciated.The error is related to the installation/version of cURL on your system, so I suggest sending this to R-SIG-Debian (cc'd). Best, Josh> Cheers > > Lorenzo > > > > sessionInfo() > R version 3.6.0 (2019-04-26) > 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/blas/libblas.so.3.8.0 > LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.8.0 > > locale: > [1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C > [3] LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8 > [5] LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 > [7] LC_PAPER=en_GB.UTF-8 LC_NAME=C > [9] LC_ADDRESS=C LC_TELEPHONE=C > [11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > loaded via a namespace (and not attached): > [1] compiler_3.6.0 tools_3.6.0 > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.-- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fosstrading.com
Ralf Stubner
2019-Jul-07 13:16 UTC
[R] [R-sig-Debian] Curl4, Quantmod, tseries and forecast
Hi Lorenzo Joshua Ulrich <josh.m.ulrich at gmail.com> schrieb am So. 7. Juli 2019 um 14:16:> Hi Lorenzo, > > On Sun, Jul 7, 2019 at 6:42 AM Lorenzo Isella <lorenzo.isella at gmail.com> > wrote: > > ** byte-compile and prepare package for lazy loading > > Error in dyn.load(file, DLLpath = DLLpath, ...) : > > unable to load shared object > '/usr/local/lib/R/site-library/curl/libs/curl.so': > > /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not > found (required by /usr/local/lib/R/site-library/curl/libs/curl.so)Did you reinstall the curl package? See also https://stackoverflow.com/a/50085192/8416610 cheerio ralf [[alternative HTML version deleted]]