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

Rstudio Server 1.2.1335 libssl version error in Ubuntu 19.04 #4681

Closed
dongzhuoer opened this issue Apr 22, 2019 · 8 comments
Closed

Rstudio Server 1.2.1335 libssl version error in Ubuntu 19.04 #4681

dongzhuoer opened this issue Apr 22, 2019 · 8 comments

Comments

@dongzhuoer
Copy link

@dongzhuoer dongzhuoer commented Apr 22, 2019

Rstudio Server wants libssl.so.1.0.0, which is not available in Ubuntu 19.04

I use a Docker of Ubuntu 18.04, install libssl1.0.0, then copy libssl.so.1.0.0 and libcrypto.so.1.0.0 to my system. Finally it works.

@jmcphers
Copy link
Member

@jmcphers jmcphers commented Apr 22, 2019

Which version of RStudio Server did you install? There is a version specifically built for Ubuntu Bionic which should also work on Ubuntu 19 (it uses OpenSSL 1.1).

@dongzhuoer
Copy link
Author

@dongzhuoer dongzhuoer commented Apr 23, 2019

1.2.1335

$ apt show rstudio-server 
Package: rstudio-server
Version: 1.2.1335
...
Depends: psmisc, libapparmor1, libedit2, sudo, lsb-release, libssl1.0.0 | libssl1.0.2 | libssl1.1, libclang-dev, libc6 (>= 2.7)
...

$ sudo rstudio-server restart
/usr/lib/rstudio-server/bin/rserver: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

@pascaloettli
Copy link

@pascaloettli pascaloettli commented Apr 23, 2019

@dongzhuoer Again, which version did you install, i.e. the flavor, not the version? For Debian 8 / Ubuntu or for Debian 9+?
I am on Ubuntu 18.04, I get the same error than yours with the latter, but not with the former. Please try with the former.

@dongzhuoer
Copy link
Author

@dongzhuoer dongzhuoer commented Apr 23, 2019

I tried both just now. The former said error while loading shared libraries: libssl.so.1.0.0, and the latter said error while loading shared libraries: libssl.so.1.0.2 (same as #4670).

By the way, Ubuntu 19.04 is Debian 10, buster/sid, which ships with libssl.so.1.1.

@pascaloettli
Copy link

@pascaloettli pascaloettli commented Apr 23, 2019

I see. As rstudio 1.2.1502 is linked against libssl.so.1.1 in my computer, I mistakenly thought it was the same for rstudio-server 1.2.1335, but I was wrong. My bad.

ldd /usr/lib/rstudio-server/bin/rserver
libssl.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f794b42f000)

@jmcphers
Copy link
Member

@jmcphers jmcphers commented Apr 23, 2019

@dongzhuoer I think what you need is the Ubuntu Bionic build. Does that do what you want?

https://download2.rstudio.org/server/bionic/amd64/rstudio-server-1.2.1335-amd64.deb

@pascaloettli
Copy link

@pascaloettli pascaloettli commented Apr 24, 2019

I missed this version. Sorry for my useless remarks above.

@dongzhuoer
Copy link
Author

@dongzhuoer dongzhuoer commented Apr 24, 2019

Yes, it does solve the problem. Thank you so much!

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