oceanhackweek / jupyter-image

jupyter-image
MIT License
2 stars 7 forks source link

Let's give this repo2docker trick a try #57

Closed ocefpaf closed 2 years ago

ocefpaf commented 2 years ago

From: https://discourse.jupyter.org/t/glibcxx-3-4-26-not-found-from-rstudio/7778/7 May fix: https://github.com/oceanhackweek/ohw-tutorials/issues/94

The issue is that RStudio is looking into the system /usr/lib/x86_64-linux-gnu/libstdc++.so.6 instead of conda's.

xref.: https://github.com/jupyterhub/repo2docker/issues/1153

abkfenris commented 2 years ago

Is that supposed to be copied somewhere specific in the image?

abkfenris commented 2 years ago

We could test it in the hub by dropping the file in someone's env.

ocefpaf commented 2 years ago

Is that supposed to be copied somewhere specific in the image?

That is a repo2docker solution. I don't think it will work for us. We probably need to copy that code into our Dockerfile. (Kind of "away" right now but I can try that in a moment.)

ocefpaf commented 2 years ago

@abkfenris this is as far as I got. The original problem is kind of solved with the LD_LIBRARY_PATH workaround. The PROJ_LIB data is still not working but we can tell users to set it for an R session with Sys.setenv(PROJ_LIB="/opt/conda/share/proj").

abkfenris commented 2 years ago

Well, lets land it for now.