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

ERROR: libicui18n.so.58: cannot open shared object file: No such file or directory #357

Closed
danli349 opened this issue Feb 21, 2022 · 2 comments

Comments

@danli349
Copy link

Hello,

I am trying to install xml2 in R by

install.packages("xml2", lib='~/R/x86_64-pc-linux-gnu-library/4.0')

But

Error :  unable to load shared object '/lila/home/lid/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-xml2/00new/xml2/libs/xml2.so':
  libicui18n.so.58: cannot open shared object file: No such file or directory
ERROR: installing Rd objects failed for package 'xml2'

Can someone tell me what is wrong with the install and what should I do to install it?

Thanks a lot

@danli349
Copy link
Author

danli349 commented Feb 21, 2022

I solved this problem by removing anaconda completely from my PATH and LD_LIBRARY_PATH environment variables. (#219)

@hadley hadley closed this as completed Feb 28, 2022
@TomGeens
Copy link

TomGeens commented Nov 8, 2023

I call conda deactivate in the terminal window before starting R and installing packages like XML, xml2 or RCurl.

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