Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: unable to load shared object 'R_X11.so': libXt.so.6: cannot open shared object file #490

Open
vebaev opened this issue May 3, 2022 · 2 comments

Comments

@vebaev
Copy link

vebaev commented May 3, 2022

I got constant warning:

Warning message:
In grSoftVersion() :
unable to load shared object '/usr/local/lib/R/modules//R_X11.so':
libXt.so.6: cannot open shared object file: No such file or directory

I also wanted to fix maybe the issue with solution I found somewhare - apt-get install -y --no-install-recommends libxt6, but I couldnt find the sudo password to do this in the terminal in Rstudio?

@eitsupi
Copy link
Member

eitsupi commented May 3, 2022

What is the image you are using?
(if you can provide the repo digest it will help us to reproduce the issue)

$ docker inspect rocker/r-ver | jq '.[].RepoDigests[]'
"rocker/r-ver@sha256:9305f45341433daac40ccdc6185b5ccbeab0184abcd82868dc2bda6c958a7b60"

By the way, in my experience, you can ignore that warning.

@eddelbuettel
Copy link
Member

Irreproducible in the repo against which this was filed:

edd@rob:~$ docker run --rm -ti rocker/r-base:4.2.0 R

R version 4.2.0 (2022-04-22) -- "Vigorous Calisthenics"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> grSoftVersion()
                   cairo                  cairoFT                    pango 
                "1.16.0"                       ""                 "1.50.6" 
                  libpng                     jpeg                  libtiff 
                "1.6.37"                    "6.2" "LIBTIFF, Version 4.3.0" 
> 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants