rocker-org / rocker-versioned

Run current & prior versions of R using docker
https://hub.docker.com/r/rocker/r-ver
GNU General Public License v2.0
297 stars 169 forks source link

Added libreadline7 to apt package installs #37

Closed brooklynbagel closed 7 years ago

brooklynbagel commented 7 years ago

When attempting to run r-ver interactively by running

docker run --it rocker/r-ver:latest

Results in the following error:

/usr/local/lib/R/bin/exec/R: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory

This error has also reproduced with rocker/r-ver:3.4.0 but does not appear to be affecting the older tags which are based off Debian Jessie and not Stretch. Including libreadline7 in the images appears to fix the bug.

I'm unsure if the change needs to be made to the Dockerfile for 3.4.0 since it appears in the Makefile that the main r-ver Dockerfile gets copied.

cboettig commented 7 years ago

Thanks, yeah, in the jessie builds libreadline was getting pulled in by some other dependency.

Can you run make sync in the ver subdirectory? That'll update devel and 3.4.0, that are also stretch based (though the stretch version on 3.4.0 tag won't hit the docker hub until that tag rebuilds on the monthly queue; only latest and devel tags get rebuilt nightly).

brooklynbagel commented 7 years ago

Sure thing, I updated the PR with devel and 3.4.0 also updated.

cboettig commented 7 years ago

great, thanks!