microsoft / microsoft-r-open

Microsoft R Open Source
212 stars 69 forks source link

libpng12.so.0: cannot open shared object file: No such file or directory #15

Closed alitrack closed 5 years ago

alitrack commented 7 years ago
unable to load shared object '/usr/lib64/microsoft-r/3.3/lib64/R/modules//R_X11.so':
  libpng12.so.0: cannot open shared object file: No such file or directory

debian test version solution, it has libpng16.so.0 so I tried

ln -s /usr/lib/x86_64-linux-gnu/libpng.so /usr/lib64/microsoft-r/3.3/lib64/R/lib/libpng12.so.0

and it works

nathansoz commented 7 years ago

Can you install libpng12-0 package on the latest version of debian? Please note that debian is not an officially supported distribution.

alitrack commented 7 years ago

I can install libpng12-0, but it will remove libpng16-0 I install mro in rocker/rstudio, and it bases on testing version debian. Of course I can create a Dockerfile with an officially supported distribution,

nathansoz commented 7 years ago

We will be looking at fixing this for 3.3.3 as it also blocks Ubuntu 16.10. For now, I would use a supported distribution.

esvhd commented 6 years ago

I got this error on Ubuntu 18.04 with MRO 3.5.0... Any suggestions? Thx

EDIT: I fixed it following the instructions in issue #34.