Rstudio server install not workon on ubuntu 18.04 due to missing libssl.so.1.0.2

I am trying to install Rstudio server on Ubuntu 18.04 but get the libssl.so.1.0.2 is missng error.
This was reported before in Rstudio Not Working on Ubuntu 18.04 -- libssl.so.1.0.2: No such file or directory but that item is closed and the solution there does not work for me.

If I install libssl1.0-dev as suggested there, it installs libssl.so.1.0.0, not 1.0.2
I did have to run the apt-get install libss1.0-dev independent from libcurl4-dev since those are incompatible when run in the same apt-get command (as I tend to do when creating my docker image).

How can I get the specific libssl.so.1.0.2 installed (or better, why don't we update Rstudio server to use libssl.so.1.1 which get installed normally...

From where did you download the RStudio Server package? The packages build for Ubuntu 18.04 are linked against libssl.so.1.1 and should therefore work without further tricks.

I got it from this link: Download RStudio Server for Debian & Ubuntu - RStudio

sudo apt-get install gdebi-core
wget https://download2.rstudio.org/server/bionic/amd64/rstudio-server-1.3.959-amd64.deb
sudo gdebi rstudio-server-1.3.959-amd64.deb

Interesting, I made these same steps within a fresh docker container for Ubuntu 18.04. Result:

root@7e59d1ab9a82:/# ldd /usr/lib/rstudio-server/bin/rserver | grep ssl
        libssl.so.1.1 => /usr/lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f7652220000)

So RStudio Server is linked with the correct libssl. What is the output of the above command on your system? What error message do you get exactly? What is the output of

sudo rstudio-server verify-installation

?

OK..Found the issue..I was somehow downloading the DEBIAN 9 version, not the BIONIC version...

Case closed...sorry for the hassle! :frowning:

Yeah..ldd gives me the same libssl.so.1.0.2 not found

root@1de45d70a659:~# ldd /usr/lib/rstudio-server//bin/rserver
	linux-vdso.so.1 (0x00007ffda9af1000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f7c6176e000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f7c6154f000)
	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f7c6134c000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f7c61145000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f7c60f3d000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f7c60d20000)
	libssl.so.1.0.2 => not found
	libcrypto.so.1.0.2 => not found
	libpam.so.0 => /lib/x86_64-linux-gnu/libpam.so.0 (0x00007f7c60b12000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f7c60789000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7c603eb000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f7c601d3000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7c5fde2000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f7c61fe0000)
	libaudit.so.1 => /lib/x86_64-linux-gnu/libaudit.so.1 (0x00007f7c5fbb9000)
	libcap-ng.so.0 => /lib/x86_64-linux-gnu/libcap-ng.so.0 (0x00007f7c5f9b4000)

This is the actual installer command I use in my docker image creator

RUN wget --quiet https://download2.rstudio.org/server/debian9/x86_64/rstudio-server-1.3.959-amd64.deb
&& wget --quiet https://download3.rstudio.org/ubuntu-14.04/x86_64/shiny-server-1.5.13.944-amd64.deb
&& gdebi --non-interactive rstudio-server-1.3.959-amd64.deb
&& gdebi --non-interactive shiny-server-1.5.13.944-amd64.deb

So, I am both installing rstudio-server and shiny-server since I also wanted to try to run rstudio

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.