-
Notifications
You must be signed in to change notification settings - Fork 79
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
unable to load shared object '/opt/conda/lib/R/library/sf/libs/sf.so #94
Comments
@ocefpaf Is it me or does it look like it's yelling about missing a specific version of libc? |
I just noticed a warning that appears when the markdown is rendered, but doesn't appear when the same commands (above) are run at the R prompt. I have pasted it in below. It points to The markdown actually does render successfully, but coordinate reference system are absent (which is possible in
|
@abkfenris looks like our Python image is OK b/c we can not run an older glibc on a newer they are all forward compatible. (The opposite is not true though.) Could this be related to RStudio? After I chose the Python image on the hub I'm having issue to switch to the RStudio one, so I cannot test this there at the moment. |
https://oceanhackweek.2i2c.cloud/hub/home to stop your server and switch to the R profile |
In the R profile
|
Yep. Just did that and....
I'm not sure there are two. The images are not based on the same base are they? The strings command is not available to explore more. Looking into it... |
@btupper I'm not familiar with R packaging but could any of the dependencies we are installing bring a pre-compiled binary? Could that be the culprit? Probably not. All the GitHub installs are using |
RStudio -> markdown rendering: throws error as shown above R console (via jupyter-hub/lab): throws proj warning, complains of missing geojsonio package |
oceanhackweek/jupyter-image#57 kind of works for me. The proj data still requires user to do |
RStudio seems to be coming up it's own environment. > Sys.getenv()
CLICOLOR_FORCE 1
DISPLAY :0
EDITOR vi
GIT_ASKPASS rpostback-askpass
HOME /home/jovyan
LANG C.UTF-8
LD_LIBRARY_PATH /opt/conda/lib/R/lib:/opt/conda/lib:/opt/conda/lib
LN_S ln -s
LOGNAME jovyan
MAKE make
MPLENGINE tkAgg
PAGER less
PATH /usr/lib/rstudio-server/bin/:/opt/conda/lib/R/library/littler/bin:/opt/conda/bin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/rstudio-server/bin/quarto/bin:/usr/lib/rstudio-server/bin/postback:/usr/lib/rstudio-server/bin/postback
R_BROWSER
R_BZIPCMD /opt/conda/bin/bzip2
R_CLI_HAS_HYPERLINK_IDE_HELP
true
R_CLI_HAS_HYPERLINK_IDE_RUN
true
R_CLI_HAS_HYPERLINK_IDE_VIGNETTE
true
R_DOC_DIR /opt/conda/lib/R/doc
R_GZIPCMD gzip
R_HOME /opt/conda/lib/R
R_INCLUDE_DIR /opt/conda/lib/R/include
R_LIBS_SITE
R_LIBS_USER ~/R/x86_64-conda-linux-gnu-library/4.1
R_PAPERSIZE a4
R_PDFVIEWER
R_PLATFORM x86_64-conda-linux-gnu
R_PRINTCMD
R_RD4PDF times,inconsolata,hyper
R_SESSION_TMPDIR /tmp/RtmpAaZMU4
R_SHARE_DIR /opt/conda/lib/R/share
R_STRIP_SHARED_LIB x86_64-conda-linux-gnu-strip --strip-unneeded
R_STRIP_STATIC_LIB x86_64-conda-linux-gnu-strip --strip-debug
R_SYSTEM_ABI linux,gcc,gxx,gfortran,gfortran
R_TEXI2DVICMD /home/conda/feedstock_root/build_artifacts/r-base-split_1660164760553/_build_env/bin/texi2dvi
R_UNZIPCMD
R_ZIPCMD
RMARKDOWN_MATHJAX_PATH /usr/lib/rstudio-server/resources/mathjax-27
RS_RPOSTBACK_PATH /usr/lib/rstudio-server/bin/rpostback
RS_SERVER_RPC_SOCKET_PATH
/var/run/rstudio-server/rstudio-rserver/session-server-rpc.socket
RS_SESSION_TMP_DIR /var/run/rstudio-server/rstudio-rsession
RSTUDIO 1
RSTUDIO_CLI_HYPERLINKS true
RSTUDIO_CONSOLE_COLOR 256
RSTUDIO_CONSOLE_WIDTH 93
RSTUDIO_HTTP_REFERER http://127.0.0.1:8080/rstudio/
RSTUDIO_PANDOC /usr/lib/rstudio-server/bin/quarto/bin/tools
RSTUDIO_PROGRAM_MODE server
RSTUDIO_R_MODULE
RSTUDIO_R_PRELAUNCH_SCRIPT
RSTUDIO_R_REPO
RSTUDIO_R_VERSION_LABEL
RSTUDIO_SESSION_PID 75
RSTUDIO_SESSION_STREAM jovyan-d
RSTUDIO_USER_IDENTITY jovyan
RSTUDIO_USER_IDENTITY_DISPLAY
jovyan
RSTUDIO_WINUTILS bin/winutils
SED /opt/conda/bin/sed
SSH_ASKPASS rpostback-askpass
TAR tar
TERM xterm-256color
USER jovyan (base) $ env
CONDA_PROMPT_MODIFIER=(base)
CONDA_ENV=base
JUPYTER_SERVER_ROOT=/home/jovyan
HOSTNAME=b0207e79e72e
LD_LIBRARY_PATH=/opt/conda/lib
HOME=/home/jovyan
CONDA_SHLVL=1
UDUNITS2_XML_PATH=/opt/conda/share/udunits/udunits2.xml
PYTHONUNBUFFERED=1
CPL_ZIP_ENCODING=UTF-8
NB_USER=jovyan
_CE_M=
RSTUDIO_WHICH_R=/opt/conda/bin/R
PYXTERM_DIMENSIONS=80x25
PYTHONDONTWRITEBYTECODE=1
R_LIBS_USER=/opt/r
TERM=xterm-256color
COLUMNS=80
_CE_CONDA=
RSTUDIO_URL=https://download2.rstudio.org/server/bionic/amd64/rstudio-server-2022.07.1-554-amd64.deb
_CONDA_SET_PROJ_LIB=/opt/conda/share/proj
PATH=/opt/conda/bin:/opt/conda/condabin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
PROJ_NETWORK=ON
LANG=C.UTF-8
CONDA_PYTHON_EXE=/opt/conda/bin/python
GSETTINGS_SCHEMA_DIR=/opt/conda/share/glib-2.0/schemas
GDAL_DRIVER_PATH=/opt/conda/lib/gdalplugins
CONDA_DEFAULT_ENV=base
CONDA_DIR=/opt/conda
LC_ALL=C.UTF-8
PROJ_LIB=/opt/conda/share/proj
PWD=/home/jovyan
CONDA_EXE=/opt/conda/bin/conda
PYDEVD_USE_FRAME_EVAL=NO
LINES=25
NB_UID=1000
CONDA_PREFIX=/opt/conda
GSETTINGS_SCHEMA_DIR_CONDA_BACKUP=
GDAL_DATA=/opt/conda/share/gdal
JUPYTER_SERVER_URL=http://b0207e79e72e:8080/ |
@ocefpaf I'm still getting this error in the RStudio instance on the hub:
Error: package or namespace load failed for ‘sf’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/opt/conda/lib/R/library/sf/libs/sf.so': /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /opt/conda/lib/R/library/sf/libs/../../../../libgdal.so.31) |
These changes haven't gone live yet. The image hasn't even finished building! https://github.com/oceanhackweek/jupyter-image/runs/7860496038?check_suite_focus=true |
Ok, the image is built, but we need to wait for 2i2c to approve and merge the new image: 2i2c-org/infrastructure#1631 |
Now for 2i2c's deployment, then you can shut down and restart your profile to test https://github.com/2i2c-org/infrastructure/actions/runs/2869052365 |
Now it's yelling about being linked to the wrong GDAL GEOS linking again |
Waiting on a new PR to be merged: 2i2c-org/infrastructure#1632 that will hopefully get us down to just warnings after adding a |
Sweet - my thanks to you and @ocefpaf for lifting us over this bump! |
We still get the warnings about GEOS, but at least proj is playing nice. |
Hi,
Hmmm. Perhaps a path issue?
The text was updated successfully, but these errors were encountered: