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

R host built on Ubuntu 20 does not run on 18 #72

Closed
koki-fukatsu14 opened this issue Jun 11, 2021 · 8 comments
Closed

R host built on Ubuntu 20 does not run on 18 #72

koki-fukatsu14 opened this issue Jun 11, 2021 · 8 comments

Comments

@koki-fukatsu14
Copy link

Thank you for reading.When I load R language, I get the following message.
image

Ubuntu 18.04(WSL)
NET5.0 is installed.
R is installed.
image

@koki-fukatsu14
Copy link
Author

output
image

@MikhailArkhipov
Copy link
Owner

MikhailArkhipov commented Jun 11, 2021

Try Open Extensions folder command in VSC, then locate mikhail-arkhipov.r-0.0.25/ls/Host/Linux and see if Microsoft.R.Host is permitted to execute.

@koki-fukatsu14
Copy link
Author

Thank you for answering.
I'm sorry, I would like to know how to check.

@koki-fukatsu14
Copy link
Author

koki-fukatsu14 commented Jun 11, 2021

Was this okay ..?

/mnt/c/Users/User/.vscode/extensions/mikhail-arkhipov.r-0.0.24/ls/Host/Linux$ ./Microsoft.R.Host 
./Microsoft.R.Host: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ./Microsoft.R.Host)

The version was different. I've confirmed, but the update hasn't come yet .. Is this related?

@MikhailArkhipov
Copy link
Owner

Host is built in Ubuntu 20.4 WSL. Tried 18.04 and it indeed produces /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.28'`. I may try building on 18 instead and see if 20 will accept the binary.

@MikhailArkhipov
Copy link
Owner

OK, using boost 1.65 and building on Ubuntu 18 produces binary that appears to work on both 18 and 20. Will be updating the extension soon.

@MikhailArkhipov MikhailArkhipov changed the title Cannot start r tools R host built on Ubuntu 20 does not run on 18 Jun 14, 2021
@MikhailArkhipov
Copy link
Owner

Rebuilt on U18 so it runs on both 18 and 20. 0.0.25

@koki-fukatsu14
Copy link
Author

Thank you for your prompt response!!
It worked fine.
image

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

2 participants