Curl4, Quantmod, tseries and forecast

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Curl4, Quantmod, tseries and forecast

Lorenzo Isella
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

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: Curl4, Quantmod, tseries and forecast

Joshua Ulrich
Hi Lorenzo,

On Sun, Jul 7, 2019 at 6:42 AM Lorenzo Isella <[hidden email]> 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
>
> ______________________________________________
> [hidden email] 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

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: [R-sig-Debian] Curl4, Quantmod, tseries and forecast

Ralf Stubner-2
Hi Lorenzo

Joshua Ulrich <[hidden email]> schrieb am So. 7. Juli 2019 um
14:16:

> Hi Lorenzo,
>
> On Sun, Jul 7, 2019 at 6:42 AM Lorenzo Isella <[hidden email]>
> 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]]

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: [R-sig-Debian] Curl4, Quantmod, tseries and forecast

Lorenzo Isella
Hi Ralf,
I tried the following

> install.packages("RCurl")


which went OK, but then same story when I tried to install tseries.

> sessionInfo()
R version 3.6.1 (2019-07-05)
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.1 tools_3.6.1  

I run a standard debian stable 10 + the ranke debian backports  -- no
fancy stuff.
I do not believe I am the only one experiencing this.
Cheers

L.


On Sun, Jul 07, 2019 at 03:16:20PM +0200, Ralf Stubner wrote:

>Hi Lorenzo
>
>Joshua Ulrich <[hidden email]> schrieb am So. 7. Juli 2019 um
>14:16:
>
>> Hi Lorenzo,
>>
>> On Sun, Jul 7, 2019 at 6:42 AM Lorenzo Isella <[hidden email]>
>> 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

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: [R-sig-Debian] Curl4, Quantmod, tseries and forecast

Ralf Stubner-2
Hi Lorenzo

I reordered the quote slightly:

On Tue, Jul 9, 2019 at 1:30 PM Lorenzo Isella <[hidden email]> wrote:

> On Sun, Jul 07, 2019 at 03:16:20PM +0200, Ralf Stubner wrote:
> >Did you reinstall the curl package? See also
> >https://stackoverflow.com/a/50085192/8416610
>
> I tried the following
>
> > install.packages("RCurl")
>
>
> which went OK, but then same story when I tried to install tseries.

Note that I suggested reinstalling the "curl" package, not the "RCurl"
package. After all, it's curl's library and not RCurl's library that
is producing the error message.

cheerio
ralf

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: [R-sig-Debian] Curl4, Quantmod, tseries and forecast

Lorenzo Isella
Thanks, that fixed the issue!

L.

On Tue, Jul 09, 2019 at 01:41:39PM +0200, Ralf Stubner wrote:

>Hi Lorenzo
>
>I reordered the quote slightly:
>
>On Tue, Jul 9, 2019 at 1:30 PM Lorenzo Isella <[hidden email]> wrote:
>> On Sun, Jul 07, 2019 at 03:16:20PM +0200, Ralf Stubner wrote:
>> >Did you reinstall the curl package? See also
>> >https://stackoverflow.com/a/50085192/8416610
>>
>> I tried the following
>>
>> > install.packages("RCurl")
>>
>>
>> which went OK, but then same story when I tried to install tseries.
>
>Note that I suggested reinstalling the "curl" package, not the "RCurl"
>package. After all, it's curl's library and not RCurl's library that
>is producing the error message.
>
>cheerio
>ralf

______________________________________________
[hidden email] 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.