conda-forge / r-rgdal-feedstock

A conda-smithy repository for r-rgdal.
BSD 3-Clause "New" or "Revised" License
2 stars 9 forks source link

r-rgdal shared library problems #18

Closed vilhelmen closed 5 years ago

vilhelmen commented 5 years ago

Issue: Rgdal shared library issues

I've been trying to get rgdal working off and on for two weeks now and I've gotten nowhere because of so many different library issues (kea, gdal, poppler, now libssl). Here's the current environment before installing rgdal:
Environment (conda list):

``` root@db9b0e422ace:~# conda list # packages in environment at /opt/conda: # # Name Version Build Channel _r-mutex 1.0.0 anacondar_1 defaults alembic 0.9.9 py_0 conda-forge asn1crypto 0.24.0 py36_1003 conda-forge async_generator 1.10 py_0 conda-forge attrs 18.2.0 py_0 conda-forge backcall 0.1.0 py_0 conda-forge beautifulsoup4 4.6.3 py36_1000 conda-forge binutils_impl_linux-64 2.28.1 had2808c_3 defaults binutils_linux-64 7.2.0 had2808c_27 defaults blas 1.1 openblas conda-forge bokeh 0.13.0 py36_1000 conda-forge bwidget 1.9.11 1 defaults bzip2 1.0.6 h14c3975_1002 conda-forge ca-certificates 2018.11.29 ha4d7672_0 conda-forge cairo 1.14.12 h80bd089_1005 conda-forge certifi 2018.11.29 py36_1000 conda-forge cffi 1.11.5 py36h9745a5d_1001 conda-forge chardet 3.0.4 py36_1003 conda-forge cloudpickle 0.5.6 py_0 conda-forge conda 4.6.1 py36_0 conda-forge conda-env 2.6.0 1 conda-forge configurable-http-proxy 1.3.0 0 conda-forge cryptography 2.3.1 py36hb7f436b_1000 conda-forge curl 7.63.0 h646f8bb_1000 conda-forge cycler 0.10.0 py_1 conda-forge cython 0.28.5 py36hf484d3e_1000 conda-forge cytoolz 0.9.0.1 py36h14c3975_1001 conda-forge dask-core 1.1.0 py_0 conda-forge dbus 1.13.0 h4e0c4b3_1000 conda-forge decorator 4.3.2 py_0 conda-forge dill 0.2.8.2 py36_1000 conda-forge entrypoints 0.3 py36_1000 conda-forge expat 2.2.5 hf484d3e_1002 conda-forge fastcache 1.0.2 py36h14c3975_1001 conda-forge fontconfig 2.13.1 h2176d3f_1000 conda-forge freetype 2.9.1 h94bbf69_1005 conda-forge gcc_impl_linux-64 7.2.0 habb00fd_3 defaults gcc_linux-64 7.2.0 h550dcbe_27 defaults gettext 0.19.8.1 h9745a5d_1001 conda-forge gfortran_impl_linux-64 7.2.0 hdf63c60_3 defaults gfortran_linux-64 7.2.0 h550dcbe_27 defaults glib 2.56.2 had28632_1001 conda-forge gmp 6.1.2 hf484d3e_1000 conda-forge gmpy2 2.0.8 py36hb20f59a_1002 conda-forge graphite2 1.3.13 hf484d3e_1000 conda-forge gst-plugins-base 1.12.5 h3865690_1000 conda-forge gstreamer 1.12.5 h0cc0488_1000 conda-forge gxx_impl_linux-64 7.2.0 hdf63c60_3 defaults gxx_linux-64 7.2.0 h550dcbe_27 defaults h5py 2.7.1 py36_3 conda-forge harfbuzz 1.9.0 he243708_1001 conda-forge hdf5 1.10.1 2 conda-forge icu 58.2 hf484d3e_1000 conda-forge idna 2.8 py36_1000 conda-forge imageio 2.4.1 py36_1000 conda-forge ipykernel 5.1.0 py36h24bf2e0_1001 conda-forge ipython 7.2.0 py36h24bf2e0_1000 conda-forge ipython_genutils 0.2.0 py_1 conda-forge ipywidgets 7.4.2 py_0 conda-forge jedi 0.13.2 py36_1000 conda-forge jinja2 2.10 py_1 conda-forge jpeg 9c h14c3975_1001 conda-forge jsonschema 3.0.0a3 py36_1000 conda-forge jupyter_client 5.2.4 py_1 conda-forge jupyter_core 4.4.0 py_0 conda-forge jupyterhub 0.9.4 py36_1000 conda-forge jupyterlab 0.35.4 py36_0 conda-forge jupyterlab_server 0.2.0 py_0 conda-forge kiwisolver 1.0.1 py36h6bb024c_1002 conda-forge krb5 1.16.3 hc83ff2d_1000 conda-forge libcurl 7.63.0 h01ee5af_1000 conda-forge libedit 3.1.20170329 hf8c457e_1001 conda-forge libffi 3.2.1 hf484d3e_1005 conda-forge libgcc-ng 7.3.0 hdf63c60_0 conda-forge libgfortran 3.0.0 1 conda-forge libgfortran-ng 7.2.0 hdf63c60_3 conda-forge libiconv 1.15 h14c3975_1004 conda-forge libpng 1.6.36 h84994c4_1000 conda-forge libprotobuf 3.6.1 hdbcaa40_1000 conda-forge libsodium 1.0.16 h14c3975_1001 conda-forge libssh2 1.8.0 h1ad7b7a_1003 conda-forge libstdcxx-ng 7.3.0 hdf63c60_0 conda-forge libtiff 4.0.10 h648cc4a_1001 conda-forge libuuid 2.32.1 h14c3975_1000 conda-forge libxcb 1.13 h14c3975_1002 conda-forge libxml2 2.9.8 h143f9aa_1005 conda-forge llvmlite 0.23.0 py36_1 conda-forge make 4.2.1 h14c3975_2004 conda-forge mako 1.0.7 py_1 conda-forge markupsafe 1.1.0 py36h14c3975_1000 conda-forge matplotlib 2.2.3 py36h8e2386c_0 conda-forge mistune 0.8.4 py36h14c3975_1000 conda-forge mpc 1.1.0 hb20f59a_1006 conda-forge mpfr 4.0.1 ha14ba45_1000 conda-forge mpmath 1.1.0 py_0 conda-forge nbconvert 5.3.1 py_1 conda-forge nbformat 4.4.0 py_1 conda-forge ncurses 6.1 hf484d3e_1002 conda-forge networkx 2.2 py_1 conda-forge nodejs 11.7.0 hf484d3e_0 conda-forge notebook 5.7.2 py36_1000 conda-forge numba 0.38.1 py36_0 conda-forge numexpr 2.6.9 py36h637b7d7_1000 conda-forge numpy 1.13.3 py36_blas_openblash1522bff_1201 [blas_openblas] conda-forge olefile 0.46 py_0 conda-forge openblas 0.3.3 h9ac9557_1001 conda-forge openssl 1.0.2p h14c3975_1002 conda-forge packaging 19.0 py_0 conda-forge pamela 1.0.0 py_0 conda-forge pandas 0.23.4 py36h637b7d7_1000 conda-forge pandoc 2.5 1 conda-forge pandocfilters 1.4.2 py_1 conda-forge pango 1.40.14 hf0c64fd_1003 conda-forge parso 0.3.2 py_0 conda-forge patsy 0.5.1 py_0 conda-forge pcre 8.41 hf484d3e_1003 conda-forge pexpect 4.6.0 py36_1000 conda-forge pickleshare 0.7.5 py36_1000 conda-forge pillow 5.4.1 py36h00a061d_1000 conda-forge pip 19.0.1 py36_0 conda-forge pixman 0.34.0 h14c3975_1003 conda-forge prometheus_client 0.5.0 py_0 conda-forge prompt_toolkit 2.0.7 py_0 conda-forge protobuf 3.6.1 py36hf484d3e_1001 conda-forge pthread-stubs 0.4 h14c3975_1001 conda-forge ptyprocess 0.6.0 py36_1000 conda-forge pycosat 0.6.3 py36h14c3975_1001 conda-forge pycparser 2.19 py_0 conda-forge pycurl 7.43.0.2 py36hb7f436b_0 defaults pygments 2.3.1 py_0 conda-forge pyopenssl 18.0.0 py36_1000 conda-forge pyparsing 2.3.1 py_0 conda-forge pyrsistent 0.14.9 py36h14c3975_1000 conda-forge pysocks 1.6.8 py36_1002 conda-forge python 3.6.7 hd21baee_1001 conda-forge python-dateutil 2.7.5 py_0 conda-forge python-editor 1.0.3 py_0 conda-forge python-oauth2 1.0.1 py36_0 conda-forge pytz 2018.9 py_0 conda-forge pywavelets 1.0.1 py36h3010b51_1000 conda-forge pyyaml 3.13 py36h14c3975_1001 conda-forge pyzmq 17.1.2 py36h6afc9c9_1001 conda-forge r-assertthat 0.2.0 r351h6115d3f_1001 conda-forge r-backports 1.1.3 r351h96ca727_1000 conda-forge r-base 3.5.1 he45234b_1005 conda-forge r-base64enc 0.1_3 r351h96ca727_1002 conda-forge r-bh 1.69.0_1 r351h6115d3f_0 conda-forge r-bindr 0.1.1 r351h6115d3f_1001 conda-forge r-bindrcpp 0.2.2 r351h29659fb_1001 conda-forge r-bit 1.1_12 r351h14c3975_1002 conda-forge r-bit64 0.9_7 r351h96ca727_1000 conda-forge r-bitops 1.0_6 r351h96ca727_1002 conda-forge r-blob 1.1.1 r351_1001 conda-forge r-broom 0.5.1 r351h6115d3f_1000 conda-forge r-callr 3.1.1 r351h6115d3f_1000 conda-forge r-caret 6.0_81 r351h96ca727_1000 conda-forge r-cellranger 1.1.0 r351h6115d3f_1001 conda-forge r-class 7.3_15 r351h96ca727_1000 conda-forge r-cli 1.0.1 r351h6115d3f_1000 conda-forge r-clipr 0.5.0 r351h6115d3f_0 conda-forge r-codetools 0.2_16 r351h6115d3f_1000 conda-forge r-colorspace 1.4_0 r351h96ca727_0 conda-forge r-config 0.3 r351h6115d3f_1001 conda-forge r-crayon 1.3.4 r351h6115d3f_1001 conda-forge r-curl 3.3 r351h96ca727_0 conda-forge r-dbi 1.0.0 r351h6115d3f_1001 conda-forge r-dbplyr 1.3.0 r351h6115d3f_1000 conda-forge r-devtools 1.13.6 r351h6115d3f_1 conda-forge r-digest 0.6.18 r351h96ca727_1000 conda-forge r-dplyr 0.7.8 r351h29659fb_1000 conda-forge r-evaluate 0.12 r351h6115d3f_1000 conda-forge r-fansi 0.4.0 r351h96ca727_1000 conda-forge r-forcats 0.3.0 r351h6115d3f_1001 conda-forge r-foreach 1.4.4 r351h6115d3f_1001 conda-forge r-forecast 8.2 r351hf484d3e_1001 conda-forge r-forge 0.1.0 r351h6115d3f_1000 conda-forge r-fracdiff 1.4_2 r351h96ca727_1002 conda-forge r-fs 1.2.6 r351h29659fb_1000 conda-forge r-generics 0.0.2 r351h6115d3f_1001 conda-forge r-ggplot2 3.1.0 r351h6115d3f_1000 conda-forge r-git2r 0.24.0 r351h47c54a8_0 conda-forge r-glue 1.3.0 r351h14c3975_1002 conda-forge r-gower 0.1.2 r351h96ca727_1002 conda-forge r-gtable 0.2.0 r351h6115d3f_1001 conda-forge r-haven 2.0.0 r351h29659fb_1000 conda-forge r-hexbin 1.27.2 r351ha65eedd_1002 conda-forge r-highr 0.7 r351h6115d3f_1001 conda-forge r-hms 0.4.2 r351h6115d3f_1000 conda-forge r-htmltools 0.3.6 r351hf484d3e_1002 conda-forge r-htmlwidgets 1.2 r351h6115d3f_1000 conda-forge r-httpuv 1.4.5.1 r351hf484d3e_1000 conda-forge r-httr 1.4.0 r351h6115d3f_1000 conda-forge r-ipred 0.9_8 r351h96ca727_1000 conda-forge r-irdisplay 0.7 r351_1000 conda-forge r-irkernel 0.8.15 r351h6115d3f_1001 conda-forge r-iterators 1.0.10 r351h6115d3f_1001 conda-forge r-jsonlite 1.6 r351h96ca727_1000 conda-forge r-kernsmooth 2.23_15 r351ha65eedd_1002 conda-forge r-knitr 1.21 r351h6115d3f_1000 conda-forge r-labeling 0.3 r351h6115d3f_1001 conda-forge r-later 0.7.5 r351h29659fb_1000 conda-forge r-lattice 0.20_38 r351h96ca727_1000 conda-forge r-lava 1.6.4 r351h6115d3f_1000 conda-forge r-lazyeval 0.2.1 r351h96ca727_1002 conda-forge r-lmtest 0.9_36 r351ha65eedd_1000 conda-forge r-lubridate 1.7.4 r351h29659fb_1001 conda-forge r-magrittr 1.5 r351h6115d3f_1001 conda-forge r-markdown 0.9 r351h96ca727_1000 conda-forge r-mass 7.3_51.1 r351h96ca727_1000 conda-forge r-matrix 1.2_15 r351h96ca727_1000 conda-forge r-memoise 1.1.0 r351h6115d3f_1001 conda-forge r-mgcv 1.8_26 r351h96ca727_1000 conda-forge r-mime 0.6 r351h96ca727_1000 conda-forge r-modelmetrics 1.1.0 r351h29659fb_1002 conda-forge r-modelr 0.1.2 r351h6115d3f_1001 conda-forge r-munsell 0.5.0 r351h6115d3f_1001 conda-forge r-nlme 3.1_137 r351ha65eedd_1000 conda-forge r-nnet 7.3_12 r351h96ca727_1002 conda-forge r-numderiv 2016.8_1 r351h6115d3f_1001 conda-forge r-nycflights13 1.0.0 r351_1000 conda-forge r-openssl 1.1 r351hff1dc39_1000 conda-forge r-pbdzmq 0.3_3 r351h193a840_1000 conda-forge r-pillar 1.3.1 r351h6115d3f_1000 conda-forge r-pkgconfig 2.0.2 r351h6115d3f_1001 conda-forge r-plogr 0.2.0 r351h6115d3f_1001 conda-forge r-plyr 1.8.4 r351h29659fb_1002 conda-forge r-prettyunits 1.0.2 r351h6115d3f_1001 conda-forge r-processx 3.2.1 r351h96ca727_1000 conda-forge r-prodlim 2018.04.18 r351h29659fb_1002 conda-forge r-progress 1.2.0 r351h6115d3f_1002 conda-forge r-promises 1.0.1 r351h29659fb_1000 conda-forge r-ps 1.3.0 r351h96ca727_1000 conda-forge r-purrr 0.2.5 r351h96ca727_1002 conda-forge r-quadprog 1.5_5 r351ha65eedd_1002 conda-forge r-quantmod 0.4_13 r351h6115d3f_1000 conda-forge r-r2d3 0.2.3 r351h6115d3f_1000 conda-forge r-r6 2.3.0 r351h6115d3f_1000 conda-forge r-randomforest 4.6_14 r351ha65eedd_1000 conda-forge r-rappdirs 0.3.1 r351h96ca727_1002 conda-forge r-rcolorbrewer 1.1_2 r351h6115d3f_1001 conda-forge r-rcpp 1.0.0 r351h29659fb_1000 conda-forge r-rcpparmadillo 0.9.100.5.0 r351h29659fb_1000 conda-forge r-rcpproll 0.3.0 r351h29659fb_1000 conda-forge r-rcurl 1.95_4.11 r351h96ca727_1003 conda-forge r-readr 1.3.1 r351h29659fb_1000 conda-forge r-readxl 1.2.0 r351h29659fb_1000 conda-forge r-recipes 0.1.4 r351h6115d3f_1000 conda-forge r-rematch 1.0.1 r351h6115d3f_1001 conda-forge r-repr 0.19.1 r351h6115d3f_1000 conda-forge r-reprex 0.2.1 r351h6115d3f_1000 conda-forge r-reshape2 1.4.3 r351h29659fb_1003 conda-forge r-rlang 0.3.1 r351h96ca727_0 conda-forge r-rmarkdown 1.11 r351h6115d3f_1000 conda-forge r-rpart 4.1_13 r351h96ca727_1002 conda-forge r-rprojroot 1.3_2 r351h6115d3f_1001 conda-forge r-rsqlite 2.1.1 r351h29659fb_1000 conda-forge r-rstudioapi 0.9.0 r351h6115d3f_0 conda-forge r-rvest 0.3.2 r351h6115d3f_1001 conda-forge r-scales 1.0.0 r351h29659fb_1001 conda-forge r-selectr 0.4_1 r351h6115d3f_1000 conda-forge r-shiny 1.2.0 r351_1000 conda-forge r-sourcetools 0.1.7 r351hf484d3e_1000 conda-forge r-sparklyr 0.9.4 r351h6115d3f_0 conda-forge r-squarem 2017.10_1 r351h6115d3f_1001 conda-forge r-stringi 1.2.4 r351h29659fb_1001 conda-forge r-stringr 1.3.1 r351h6115d3f_1001 conda-forge r-survival 2.43_3 r351h96ca727_1000 conda-forge r-tibble 2.0.1 r351h96ca727_0 conda-forge r-tidyr 0.8.2 r351h29659fb_1002 conda-forge r-tidyselect 0.2.5 r351h29659fb_1000 conda-forge r-tidyverse 1.2.1 r351h6115d3f_1001 conda-forge r-timedate 3043.102 r351h6115d3f_1000 conda-forge r-tinytex 0.10 r351h6115d3f_0 conda-forge r-tseries 0.10_46 r351h9ac9557_1000 conda-forge r-ttr 0.23_4 r351ha65eedd_1000 conda-forge r-utf8 1.1.4 r351h96ca727_1000 conda-forge r-uuid 0.1_2 r351h96ca727_1001 conda-forge r-viridislite 0.3.0 r351h6115d3f_1001 conda-forge r-whisker 0.3_2 r351h6115d3f_1001 conda-forge r-withr 2.1.2 r351h6115d3f_1000 conda-forge r-xfun 0.4 r351h6115d3f_1000 conda-forge r-xml2 1.2.0 r351h29659fb_1002 conda-forge r-xtable 1.8_3 r351_2000 conda-forge r-xts 0.11_1 r351h96ca727_1000 conda-forge r-yaml 2.2.0 r351h96ca727_1001 conda-forge r-zoo 1.8_4 r351h96ca727_1000 conda-forge readline 7.0 hf8c457e_1001 conda-forge requests 2.21.0 py36_1000 conda-forge rpy2 2.9.4 py36r351h941a26a_1 conda-forge ruamel_yaml 0.15.71 py36h14c3975_1000 conda-forge scikit-image 0.14.2 py36hf484d3e_0 conda-forge scikit-learn 0.20.2 py36_blas_openblashebff5e3_1400 [blas_openblas] conda-forge scipy 1.1.0 py36_blas_openblash1522bff_1202 [blas_openblas] conda-forge seaborn 0.9.0 py_0 conda-forge send2trash 1.5.0 py_0 conda-forge setuptools 40.6.3 py36_0 conda-forge sip 4.18.1 py36hf484d3e_1000 conda-forge six 1.12.0 py36_1000 conda-forge sqlalchemy 1.2.16 py36h14c3975_1000 conda-forge sqlite 3.26.0 h67949de_1000 conda-forge statsmodels 0.9.0 py36h3010b51_1000 conda-forge sympy 1.1.1 py36_0 conda-forge terminado 0.8.1 py36_1001 conda-forge testpath 0.4.2 py36_1000 conda-forge tini 0.18.0 h14c3975_1001 conda-forge tk 8.6.9 h84994c4_1000 conda-forge tktable 2.10 h14c3975_0 defaults toolz 0.9.0 py_1 conda-forge tornado 5.1.1 py36h14c3975_1000 conda-forge traitlets 4.3.2 py36_1000 conda-forge tzlocal 1.5.1 py_0 conda-forge urllib3 1.24.1 py36_1000 conda-forge vincent 0.4.4 py_1 conda-forge wcwidth 0.1.7 py_1 conda-forge webencodings 0.5.1 py_1 conda-forge wheel 0.32.3 py36_0 conda-forge widgetsnbextension 3.4.2 py36_1000 conda-forge xlrd 1.2.0 py_0 conda-forge xorg-kbproto 1.0.7 h14c3975_1002 conda-forge xorg-libice 1.0.9 h14c3975_1004 conda-forge xorg-libsm 1.2.3 h4937e3b_1000 conda-forge xorg-libx11 1.6.6 h14c3975_1000 conda-forge xorg-libxau 1.0.8 h14c3975_1006 conda-forge xorg-libxdmcp 1.1.2 h14c3975_1007 conda-forge xorg-libxext 1.3.3 h14c3975_1004 conda-forge xorg-libxrender 0.9.10 h14c3975_1002 conda-forge xorg-renderproto 0.11.1 h14c3975_1002 conda-forge xorg-xextproto 7.3.0 h14c3975_1002 conda-forge xorg-xproto 7.0.31 h14c3975_1007 conda-forge xz 5.2.4 h14c3975_1001 conda-forge yaml 0.1.7 h14c3975_1001 conda-forge zeromq 4.2.5 hf484d3e_1006 conda-forge zlib 1.2.11 h14c3975_1004 conda-forge ```


Details about conda and system ( conda info ):

``` root@db9b0e422ace:~# conda info active environment : None user config file : /home/jovyan/.condarc populated config files : /opt/conda/.condarc conda version : 4.6.1 conda-build version : not installed python version : 3.6.7.final.0 base environment : /opt/conda (writable) channel URLs : https://conda.anaconda.org/conda-forge/linux-64 https://conda.anaconda.org/conda-forge/noarch https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/free/linux-64 https://repo.anaconda.com/pkgs/free/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /opt/conda/pkgs /home/jovyan/.conda/pkgs envs directories : /opt/conda/envs /home/jovyan/.conda/envs platform : linux-64 user-agent : conda/4.6.1 requests/2.21.0 CPython/3.6.7 Linux/4.9.125-linuxkit ubuntu/18.04.1 glibc/2.27 UID:GID : 0:0 netrc file : None offline mode : False ```


And here's the delta from installing r-rgdal:

``` root@db9b0e422ace:~# conda install r-rgdal Collecting package metadata: done Solving environment: done ## Package Plan ## environment location: /opt/conda added / updated specs: - r-rgdal The following packages will be downloaded: package | build ---------------------------|----------------- boost-cpp-1.68.0 | h11c811c_1000 20.5 MB conda-forge cairo-1.14.12 | h8948797_3 1.3 MB defaults cryptography-2.4.2 | py36h1ba5d50_0 618 KB defaults curl-7.63.0 | hbc83047_1000 145 KB defaults fontconfig-2.13.0 | h9420a91_0 291 KB defaults freexl-1.0.5 | h14c3975_1002 43 KB conda-forge fribidi-1.0.5 | h14c3975_1000 111 KB conda-forge geos-3.6.2 | hfc679d8_4 3.2 MB conda-forge geotiff-1.4.2 | hfe6da40_1005 1.3 MB conda-forge giflib-5.1.4 | h14c3975_1001 79 KB conda-forge gsl-2.4 |blas_openblash5c7cb9b_1004 2.5 MB conda-forge h5py-2.7.1 | py36ha1f6525_2 1.0 MB defaults hdf4-4.2.13 | h9a582f1_1002 952 KB conda-forge hdf5-1.10.2 | hc401514_3 4.8 MB conda-forge json-c-0.12.1 | h470a237_1 47 KB conda-forge kealib-1.4.9 | h0bee7d0_2 174 KB conda-forge krb5-1.16.1 | h173b8e3_7 1.4 MB defaults libcurl-7.63.0 | h20c2e04_1000 550 KB defaults libdap4-3.19.1 | 0 15.6 MB conda-forge libgdal-2.2.4 | he036fc0_8 15.7 MB conda-forge libkml-1.3.0 | h328b03d_1009 637 KB conda-forge libnetcdf-4.6.1 | h628ed10_200 1.3 MB conda-forge libpq-9.5.3 | 1 93 KB conda-forge libspatialite-4.3.0a | h9968ff2_1023 3.1 MB conda-forge libssh2-1.8.0 | 1 239 KB conda-forge libuuid-1.0.3 | 1 34 KB conda-forge openjpeg-2.3.0 | hf38bd82_1003 460 KB conda-forge openssl-1.1.1a | h14c3975_1000 4.0 MB conda-forge pango-1.42.4 | h049681c_0 528 KB defaults pcre-8.42 | h439df22_0 251 KB defaults poppler-0.67.0 | h2fc8fa2_1002 8.8 MB conda-forge poppler-data-0.4.9 | 1 3.4 MB conda-forge proj4-4.9.3 | h470a237_8 3.2 MB conda-forge pycurl-7.43.0.2 | py36h1ba5d50_0 185 KB defaults python-3.6.8 | h0371630_0 34.4 MB defaults r-base-3.5.1 | h1e0a451_2 39.8 MB defaults r-git2r-0.23.0 | r351h96ca727_1 863 KB defaults r-openssl-1.0.2 | r351h96ca727_1 1.1 MB defaults r-rgdal-1.3_6 | r351h67cc41c_0 2.0 MB conda-forge r-sp-1.3_1 |r351h96ca727_1000 1.9 MB conda-forge util-linux-2.21 | 0 35 KB defaults xerces-c-3.2.0 | h5d6a6da_2 4.0 MB conda-forge xorg-libsm-1.2.2 | h470a237_5 24 KB conda-forge ------------------------------------------------------------ Total: 180.7 MB The following NEW packages will be INSTALLED: boost-cpp conda-forge/linux-64::boost-cpp-1.68.0-h11c811c_1000 freexl conda-forge/linux-64::freexl-1.0.5-h14c3975_1002 fribidi conda-forge/linux-64::fribidi-1.0.5-h14c3975_1000 geos conda-forge/linux-64::geos-3.6.2-hfc679d8_4 geotiff conda-forge/linux-64::geotiff-1.4.2-hfe6da40_1005 giflib conda-forge/linux-64::giflib-5.1.4-h14c3975_1001 gsl conda-forge/linux-64::gsl-2.4-blas_openblash5c7cb9b_1004 hdf4 conda-forge/linux-64::hdf4-4.2.13-h9a582f1_1002 json-c conda-forge/linux-64::json-c-0.12.1-h470a237_1 kealib conda-forge/linux-64::kealib-1.4.9-h0bee7d0_2 libdap4 conda-forge/linux-64::libdap4-3.19.1-0 libgdal conda-forge/linux-64::libgdal-2.2.4-he036fc0_8 libkml conda-forge/linux-64::libkml-1.3.0-h328b03d_1009 libnetcdf conda-forge/linux-64::libnetcdf-4.6.1-h628ed10_200 libpq conda-forge/linux-64::libpq-9.5.3-1 libspatialite conda-forge/linux-64::libspatialite-4.3.0a-h9968ff2_1023 openjpeg conda-forge/linux-64::openjpeg-2.3.0-hf38bd82_1003 poppler conda-forge/linux-64::poppler-0.67.0-h2fc8fa2_1002 poppler-data conda-forge/noarch::poppler-data-0.4.9-1 proj4 conda-forge/linux-64::proj4-4.9.3-h470a237_8 r-rgdal conda-forge/linux-64::r-rgdal-1.3_6-r351h67cc41c_0 r-sp conda-forge/linux-64::r-sp-1.3_1-r351h96ca727_1000 util-linux pkgs/free/linux-64::util-linux-2.21-0 xerces-c conda-forge/linux-64::xerces-c-3.2.0-h5d6a6da_2 The following packages will be UPDATED: cryptography conda-forge::cryptography-2.3.1-py36h~ --> pkgs/main::cryptography-2.4.2-py36h1ba5d50_0 hdf5 1.10.1-2 --> 1.10.2-hc401514_3 openssl 1.0.2p-h14c3975_1002 --> 1.1.1a-h14c3975_1000 pango conda-forge::pango-1.40.14-hf0c64fd_1~ --> pkgs/main::pango-1.42.4-h049681c_0 pcre conda-forge::pcre-8.41-hf484d3e_1003 --> pkgs/main::pcre-8.42-h439df22_0 python conda-forge::python-3.6.7-hd21baee_10~ --> pkgs/main::python-3.6.8-h0371630_0 The following packages will be SUPERSEDED by a higher-priority channel: cairo conda-forge::cairo-1.14.12-h80bd089_1~ --> pkgs/main::cairo-1.14.12-h8948797_3 curl conda-forge::curl-7.63.0-h646f8bb_1000 --> pkgs/main::curl-7.63.0-hbc83047_1000 fontconfig conda-forge::fontconfig-2.13.1-h2176d~ --> pkgs/main::fontconfig-2.13.0-h9420a91_0 h5py conda-forge::h5py-2.7.1-py36_3 --> pkgs/main::h5py-2.7.1-py36ha1f6525_2 krb5 conda-forge::krb5-1.16.3-hc83ff2d_1000 --> pkgs/main::krb5-1.16.1-h173b8e3_7 libcurl conda-forge::libcurl-7.63.0-h01ee5af_~ --> pkgs/main::libcurl-7.63.0-h20c2e04_1000 r-base conda-forge::r-base-3.5.1-he45234b_10~ --> pkgs/r::r-base-3.5.1-h1e0a451_2 r-git2r conda-forge::r-git2r-0.24.0-r351h47c5~ --> pkgs/r::r-git2r-0.23.0-r351h96ca727_1 r-openssl conda-forge::r-openssl-1.1-r351hff1dc~ --> pkgs/r::r-openssl-1.0.2-r351h96ca727_1 The following packages will be DOWNGRADED: libssh2 1.8.0-h1ad7b7a_1003 --> 1.8.0-1 libuuid 2.32.1-h14c3975_1000 --> 1.0.3-1 pycurl 7.43.0.2-py36hb7f436b_0 --> 7.43.0.2-py36h1ba5d50_0 xorg-libsm 1.2.3-h4937e3b_1000 --> 1.2.2-h470a237_5 Proceed ([y]/n)? y ```


For starters, libssl.so is missing, which must have been satisfied by some other package in earlier install attempts:

Error: package or namespace load failed for ‘rgdal’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/opt/conda/lib/R/library/rgdal/libs/rgdal.so':
  libssl.so.1.0.0: cannot open shared object file: No such file or directory

Installing openssl=1.0.2p fixes that dependency, so that may be an issue for a different repo, but I don't have the bandwidth to hunt that down.


Restarting with r-rgdal and `openssl=1.0.2p' gets us the following delta:

``` root@7b877b9fc3a0:~# conda install 'r-rgdal' 'openssl=1.0.2p' Collecting package metadata: done Solving environment: done ## Package Plan ## environment location: /opt/conda added / updated specs: - openssl=1.0.2p - r-rgdal The following packages will be downloaded: package | build ---------------------------|----------------- boost-cpp-1.68.0 | h11c811c_1000 20.5 MB conda-forge cairo-1.14.12 | h8948797_3 1.3 MB defaults expat-2.2.6 | he6710b0_0 187 KB defaults fontconfig-2.13.0 | h9420a91_0 291 KB defaults freexl-1.0.5 | h14c3975_1002 43 KB conda-forge fribidi-1.0.5 | h14c3975_1000 111 KB conda-forge geos-3.6.2 | hfc679d8_4 3.2 MB conda-forge giflib-5.1.4 | h14c3975_1001 79 KB conda-forge gsl-2.4 |blas_openblash5c7cb9b_1004 2.5 MB conda-forge h5py-2.7.1 | py36ha1f6525_2 1.0 MB defaults hdf4-4.2.13 | h9a582f1_1002 952 KB conda-forge hdf5-1.10.2 | hc401514_3 4.8 MB conda-forge json-c-0.13.1 | h14c3975_1001 71 KB conda-forge kealib-1.4.9 | h0bee7d0_2 174 KB conda-forge libdap4-3.19.1 | 0 15.6 MB conda-forge libgdal-2.3.2 | h9d4a965_0 17.8 MB defaults libkml-1.3.0 | h328b03d_1009 637 KB conda-forge libnetcdf-4.6.1 | h628ed10_200 1.3 MB conda-forge libpq-10.6 | h13b8bad_1000 2.5 MB conda-forge libspatialite-4.3.0a | he475c7f_19 3.1 MB defaults libuuid-1.0.3 | 1 34 KB conda-forge openjpeg-2.3.0 | hf38bd82_1003 460 KB conda-forge pango-1.42.4 | h049681c_0 528 KB defaults pcre-8.42 | h439df22_0 251 KB defaults poppler-0.72.0 | h2fc8fa2_1000 12.1 MB conda-forge poppler-data-0.4.9 | 1 3.4 MB conda-forge proj4-5.0.1 | 0 4.4 MB conda-forge r-base-3.5.1 | h1e0a451_2 39.8 MB defaults r-rgdal-1.3_6 | r351h285a78d_1 2.1 MB conda-forge r-sp-1.3_1 |r351h96ca727_1000 1.9 MB conda-forge util-linux-2.21 | 0 35 KB defaults xerces-c-3.2.2 | hac72e42_1001 3.3 MB conda-forge xorg-libsm-1.2.2 | h470a237_5 24 KB conda-forge ------------------------------------------------------------ Total: 144.3 MB The following NEW packages will be INSTALLED: boost-cpp conda-forge/linux-64::boost-cpp-1.68.0-h11c811c_1000 freexl conda-forge/linux-64::freexl-1.0.5-h14c3975_1002 fribidi conda-forge/linux-64::fribidi-1.0.5-h14c3975_1000 geos conda-forge/linux-64::geos-3.6.2-hfc679d8_4 giflib conda-forge/linux-64::giflib-5.1.4-h14c3975_1001 gsl conda-forge/linux-64::gsl-2.4-blas_openblash5c7cb9b_1004 hdf4 conda-forge/linux-64::hdf4-4.2.13-h9a582f1_1002 json-c conda-forge/linux-64::json-c-0.13.1-h14c3975_1001 kealib conda-forge/linux-64::kealib-1.4.9-h0bee7d0_2 libdap4 conda-forge/linux-64::libdap4-3.19.1-0 libgdal pkgs/main/linux-64::libgdal-2.3.2-h9d4a965_0 libkml conda-forge/linux-64::libkml-1.3.0-h328b03d_1009 libnetcdf conda-forge/linux-64::libnetcdf-4.6.1-h628ed10_200 libpq conda-forge/linux-64::libpq-10.6-h13b8bad_1000 libspatialite pkgs/main/linux-64::libspatialite-4.3.0a-he475c7f_19 openjpeg conda-forge/linux-64::openjpeg-2.3.0-hf38bd82_1003 poppler conda-forge/linux-64::poppler-0.72.0-h2fc8fa2_1000 poppler-data conda-forge/noarch::poppler-data-0.4.9-1 proj4 conda-forge/linux-64::proj4-5.0.1-0 r-rgdal conda-forge/linux-64::r-rgdal-1.3_6-r351h285a78d_1 r-sp conda-forge/linux-64::r-sp-1.3_1-r351h96ca727_1000 util-linux pkgs/free/linux-64::util-linux-2.21-0 xerces-c conda-forge/linux-64::xerces-c-3.2.2-hac72e42_1001 The following packages will be UPDATED: expat conda-forge::expat-2.2.5-hf484d3e_1002 --> pkgs/main::expat-2.2.6-he6710b0_0 hdf5 1.10.1-2 --> 1.10.2-hc401514_3 pango conda-forge::pango-1.40.14-hf0c64fd_1~ --> pkgs/main::pango-1.42.4-h049681c_0 pcre conda-forge::pcre-8.41-hf484d3e_1003 --> pkgs/main::pcre-8.42-h439df22_0 The following packages will be SUPERSEDED by a higher-priority channel: cairo conda-forge::cairo-1.14.12-h80bd089_1~ --> pkgs/main::cairo-1.14.12-h8948797_3 fontconfig conda-forge::fontconfig-2.13.1-h2176d~ --> pkgs/main::fontconfig-2.13.0-h9420a91_0 h5py conda-forge::h5py-2.7.1-py36_3 --> pkgs/main::h5py-2.7.1-py36ha1f6525_2 r-base conda-forge::r-base-3.5.1-he45234b_10~ --> pkgs/r::r-base-3.5.1-h1e0a451_2 The following packages will be DOWNGRADED: libuuid 2.32.1-h14c3975_1000 --> 1.0.3-1 xorg-libsm 1.2.3-h4937e3b_1000 --> 1.2.2-h470a237_5 ```


This starts the libpoppler issues:

> library(rgdal)
Loading required package: sp
Error: package or namespace load failed for ‘rgdal’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/opt/conda/lib/R/library/rgdal/libs/rgdal.so':
  libpoppler.so.76: cannot open shared object file: No such file or directory

Since libpoppler's version number is off by about 11 from the package version (?????), I dig through Conda-forge packages, unpacking them and checking the lib version numbers manually and determine we need poppler 65 to get libpoppler.so.76. Conda-forge has a mysterious gap where poppler 65 goes, but pkgs/main has it:

``` root@7b877b9fc3a0:~# conda search '*poppler*' Loading channels: done # Name Version Build Channel poppler 0.52.0 1 conda-forge poppler 0.52.0 2 conda-forge poppler 0.52.0 3 conda-forge poppler 0.52.0 4 conda-forge poppler 0.60.1 hc909a00_0 pkgs/main poppler 0.61.1 0 conda-forge poppler 0.61.1 1 conda-forge poppler 0.61.1 2 conda-forge poppler 0.61.1 3 conda-forge poppler 0.61.1 h4d7e492_4 conda-forge poppler 0.62.0 0 conda-forge poppler 0.63.0 0 conda-forge poppler 0.64.0 0 conda-forge poppler 0.65.0 h581218d_1 pkgs/main poppler 0.65.0 ha54bb34_0 pkgs/main poppler 0.66.0 hb55ee21_1 conda-forge poppler 0.67.0 h2ad7f00_4 conda-forge poppler 0.67.0 h2ad7f00_5 conda-forge poppler 0.67.0 h2ad7f00_6 conda-forge poppler 0.67.0 h2fc8fa2_1002 conda-forge poppler 0.67.0 h4d7e492_2 conda-forge poppler 0.67.0 h4d7e492_3 conda-forge poppler 0.67.0 hb55ee21_0 conda-forge poppler 0.67.0 hb55ee21_1 conda-forge poppler 0.67.0 hdf8a1b3_2 conda-forge poppler 0.69.0 h768e802_1000 conda-forge poppler 0.70.1 h768e802_1000 conda-forge poppler 0.70.1 h768e802_1001 conda-forge poppler 0.71.0 h2fc8fa2_1000 conda-forge poppler 0.72.0 h2fc8fa2_1000 conda-forge poppler 0.73.0 h2ad7f00_1000 conda-forge poppler 0.73.0 h2ad7f00_1001 conda-forge poppler 0.73.0 h2ad7f00_1002 conda-forge poppler-data 0.4.7 0 conda-forge poppler-data 0.4.8 0 conda-forge poppler-data 0.4.8 hf2eda46_0 pkgs/main poppler-data 0.4.9 0 conda-forge poppler-data 0.4.9 0 pkgs/main poppler-data 0.4.9 1 conda-forge ```


This brings the install to r-rgdal openssl=1.0.2p poppler=0.65.0 and the delta to:

``` root@0c88cafaa942:~# conda install r-rgdal openssl=1.0.2p poppler=0.65.0 Collecting package metadata: done Solving environment: done ## Package Plan ## environment location: /opt/conda added / updated specs: - openssl=1.0.2p - poppler=0.65.0 - r-rgdal The following packages will be downloaded: package | build ---------------------------|----------------- boost-cpp-1.68.0 | h11c811c_1000 20.5 MB conda-forge cairo-1.14.12 | h8948797_3 1.3 MB defaults expat-2.2.6 | he6710b0_0 187 KB defaults fontconfig-2.13.0 | h9420a91_0 291 KB defaults freexl-1.0.5 | h14c3975_1002 43 KB conda-forge fribidi-1.0.5 | h14c3975_1000 111 KB conda-forge geos-3.6.2 | hfc679d8_4 3.2 MB conda-forge giflib-5.1.4 | h14c3975_1001 79 KB conda-forge gsl-2.4 |blas_openblash5c7cb9b_1004 2.5 MB conda-forge h5py-2.7.1 | py36ha1f6525_2 1.0 MB defaults hdf4-4.2.13 | h9a582f1_1002 952 KB conda-forge hdf5-1.10.2 | hc401514_3 4.8 MB conda-forge json-c-0.13.1 | h14c3975_1001 71 KB conda-forge kealib-1.4.9 | h0bee7d0_2 174 KB conda-forge libdap4-3.19.1 | 0 15.6 MB conda-forge libgdal-2.3.2 | h9d4a965_0 17.8 MB defaults libkml-1.3.0 | h328b03d_1009 637 KB conda-forge libnetcdf-4.6.1 | h628ed10_200 1.3 MB conda-forge libpq-10.6 | h13b8bad_1000 2.5 MB conda-forge libspatialite-4.3.0a | he475c7f_19 3.1 MB defaults libuuid-1.0.3 | 1 34 KB conda-forge openjpeg-2.3.0 | hf38bd82_1003 460 KB conda-forge pango-1.42.4 | h049681c_0 528 KB defaults pcre-8.42 | h439df22_0 251 KB defaults poppler-0.65.0 | h581218d_1 1.6 MB defaults poppler-data-0.4.9 | 1 3.4 MB conda-forge proj4-5.0.1 | 0 4.4 MB conda-forge r-base-3.5.1 | h1e0a451_2 39.8 MB defaults r-rgdal-1.3_6 | r351h285a78d_1 2.1 MB conda-forge r-sp-1.3_1 |r351h96ca727_1000 1.9 MB conda-forge util-linux-2.21 | 0 35 KB defaults xerces-c-3.2.2 | hac72e42_1001 3.3 MB conda-forge xorg-libsm-1.2.2 | h470a237_5 24 KB conda-forge ------------------------------------------------------------ Total: 133.7 MB The following NEW packages will be INSTALLED: boost-cpp conda-forge/linux-64::boost-cpp-1.68.0-h11c811c_1000 freexl conda-forge/linux-64::freexl-1.0.5-h14c3975_1002 fribidi conda-forge/linux-64::fribidi-1.0.5-h14c3975_1000 geos conda-forge/linux-64::geos-3.6.2-hfc679d8_4 giflib conda-forge/linux-64::giflib-5.1.4-h14c3975_1001 gsl conda-forge/linux-64::gsl-2.4-blas_openblash5c7cb9b_1004 hdf4 conda-forge/linux-64::hdf4-4.2.13-h9a582f1_1002 json-c conda-forge/linux-64::json-c-0.13.1-h14c3975_1001 kealib conda-forge/linux-64::kealib-1.4.9-h0bee7d0_2 libdap4 conda-forge/linux-64::libdap4-3.19.1-0 libgdal pkgs/main/linux-64::libgdal-2.3.2-h9d4a965_0 libkml conda-forge/linux-64::libkml-1.3.0-h328b03d_1009 libnetcdf conda-forge/linux-64::libnetcdf-4.6.1-h628ed10_200 libpq conda-forge/linux-64::libpq-10.6-h13b8bad_1000 libspatialite pkgs/main/linux-64::libspatialite-4.3.0a-he475c7f_19 openjpeg conda-forge/linux-64::openjpeg-2.3.0-hf38bd82_1003 poppler pkgs/main/linux-64::poppler-0.65.0-h581218d_1 poppler-data conda-forge/noarch::poppler-data-0.4.9-1 proj4 conda-forge/linux-64::proj4-5.0.1-0 r-rgdal conda-forge/linux-64::r-rgdal-1.3_6-r351h285a78d_1 r-sp conda-forge/linux-64::r-sp-1.3_1-r351h96ca727_1000 util-linux pkgs/free/linux-64::util-linux-2.21-0 xerces-c conda-forge/linux-64::xerces-c-3.2.2-hac72e42_1001 The following packages will be UPDATED: expat conda-forge::expat-2.2.5-hf484d3e_1002 --> pkgs/main::expat-2.2.6-he6710b0_0 hdf5 1.10.1-2 --> 1.10.2-hc401514_3 pango conda-forge::pango-1.40.14-hf0c64fd_1~ --> pkgs/main::pango-1.42.4-h049681c_0 pcre conda-forge::pcre-8.41-hf484d3e_1003 --> pkgs/main::pcre-8.42-h439df22_0 The following packages will be SUPERSEDED by a higher-priority channel: cairo conda-forge::cairo-1.14.12-h80bd089_1~ --> pkgs/main::cairo-1.14.12-h8948797_3 fontconfig conda-forge::fontconfig-2.13.1-h2176d~ --> pkgs/main::fontconfig-2.13.0-h9420a91_0 h5py conda-forge::h5py-2.7.1-py36_3 --> pkgs/main::h5py-2.7.1-py36ha1f6525_2 r-base conda-forge::r-base-3.5.1-he45234b_10~ --> pkgs/r::r-base-3.5.1-h1e0a451_2 The following packages will be DOWNGRADED: libuuid 2.32.1-h14c3975_1000 --> 1.0.3-1 xorg-libsm 1.2.3-h4937e3b_1000 --> 1.2.2-h470a237_5 ```


Now this issue is libkea.

> library(rgdal)
Loading required package: sp
Error: package or namespace load failed for ‘rgdal’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/opt/conda/lib/R/library/rgdal/libs/rgdal.so':
  libkea.so.1.4.7: cannot open shared object file: No such file or directory

kealib 1.4.9 was selected for some reason by conda. Now the install is r-rgdal openssl=1.0.2p poppler=0.65.0 kealib=1.4.7 and the delta is (every reinstall is done in a fresh container):

``` root@7aaa82c77cb5:~# conda install r-rgdal openssl=1.0.2p poppler=0.65.0 kealib=1.4.7 Collecting package metadata: done Solving environment: done ## Package Plan ## environment location: /opt/conda added / updated specs: - kealib=1.4.7 - openssl=1.0.2p - poppler=0.65.0 - r-rgdal The following packages will be downloaded: package | build ---------------------------|----------------- boost-cpp-1.68.0 | h11c811c_1000 20.5 MB conda-forge freexl-1.0.5 | h14c3975_1002 43 KB conda-forge geos-3.6.2 | hfc679d8_4 3.2 MB conda-forge giflib-5.1.4 | h14c3975_1001 79 KB conda-forge hdf4-4.2.13 | h9a582f1_1002 952 KB conda-forge json-c-0.13.1 | h14c3975_1001 71 KB conda-forge kealib-1.4.7 | 4 173 KB conda-forge libdap4-3.19.1 | hd48c02d_1000 1.6 MB conda-forge libgdal-2.2.4 | hc8d23f9_1 16.2 MB defaults libkml-1.3.0 | h328b03d_1009 637 KB conda-forge libnetcdf-4.4.1.1 | 10 2.0 MB conda-forge libpq-10.6 | h13b8bad_1000 2.5 MB conda-forge libspatialite-4.3.0a | h9968ff2_1023 3.1 MB conda-forge openjpeg-2.3.0 | hf38bd82_1003 460 KB conda-forge pcre-8.42 | h439df22_0 251 KB defaults poppler-0.65.0 | h581218d_1 1.6 MB defaults poppler-data-0.4.9 | 1 3.4 MB conda-forge proj4-4.9.3 | h470a237_8 3.2 MB conda-forge r-rgdal-1.3_6 | r351h67cc41c_0 2.0 MB conda-forge r-sp-1.3_1 |r351h96ca727_1000 1.9 MB conda-forge xerces-c-3.2.2 | hac72e42_1001 3.3 MB conda-forge ------------------------------------------------------------ Total: 67.1 MB The following NEW packages will be INSTALLED: boost-cpp conda-forge/linux-64::boost-cpp-1.68.0-h11c811c_1000 freexl conda-forge/linux-64::freexl-1.0.5-h14c3975_1002 geos conda-forge/linux-64::geos-3.6.2-hfc679d8_4 giflib conda-forge/linux-64::giflib-5.1.4-h14c3975_1001 hdf4 conda-forge/linux-64::hdf4-4.2.13-h9a582f1_1002 json-c conda-forge/linux-64::json-c-0.13.1-h14c3975_1001 kealib conda-forge/linux-64::kealib-1.4.7-4 libdap4 conda-forge/linux-64::libdap4-3.19.1-hd48c02d_1000 libgdal pkgs/main/linux-64::libgdal-2.2.4-hc8d23f9_1 libkml conda-forge/linux-64::libkml-1.3.0-h328b03d_1009 libnetcdf conda-forge/linux-64::libnetcdf-4.4.1.1-10 libpq conda-forge/linux-64::libpq-10.6-h13b8bad_1000 libspatialite conda-forge/linux-64::libspatialite-4.3.0a-h9968ff2_1023 openjpeg conda-forge/linux-64::openjpeg-2.3.0-hf38bd82_1003 poppler pkgs/main/linux-64::poppler-0.65.0-h581218d_1 poppler-data conda-forge/noarch::poppler-data-0.4.9-1 proj4 conda-forge/linux-64::proj4-4.9.3-h470a237_8 r-rgdal conda-forge/linux-64::r-rgdal-1.3_6-r351h67cc41c_0 r-sp conda-forge/linux-64::r-sp-1.3_1-r351h96ca727_1000 xerces-c conda-forge/linux-64::xerces-c-3.2.2-hac72e42_1001 The following packages will be UPDATED: pcre conda-forge::pcre-8.41-hf484d3e_1003 --> pkgs/main::pcre-8.42-h439df22_0 ```

Then we hit the mystery zone where it stops working because ????????? and I haven't been able to get around it.

> library(rgdal)
Loading required package: sp
Error: package or namespace load failed for ‘rgdal’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/opt/conda/lib/R/library/rgdal/libs/rgdal.so':
  /opt/conda/lib/R/library/rgdal/libs/../../../../libgdal.so.20: undefined symbol: _ZN6kealib10KEAImageIO16setImageMetaDataENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_

The symbol mentions kea, but also c++11, it could be either, both, or neither. Others online mention downgrading libgdal, but most posts are either from 2014 or end with either "I changed a thing, try it again." "That works, thanks!" or "I fixed it, nevermind".

In the end, you generally always end up an an undefined symbol in one of libgdal, libpoppler, libkea, etc.

Any help would be appreciated. I am clearly out of ideas.

ocefpaf commented 5 years ago

Until we resolve #17 you need to install rgdal from the "old compiler label" like:

conda create --name TEST --channel conda-forge/label/cf201901 r-rgdal

Ping @isuruf and @mariusvniekerk for an example of the brokenness we have if we keep the cf201901 labeled packages on main.

vilhelmen commented 5 years ago

It works! Thank you so much, I've been going crazy trying to get this working.

vilhelmen commented 5 years ago

Or it did. Trying to get this to work with the existing environment makes conda decided that the only solution includes uninstalling conda. I have an old container I somehow got working by accident (I have never been able to replicate it), so I guess I'm just going to force everyone to use that one until #17 is finished.

dpryan79 commented 5 years ago

17 should be finished by now, are you still having issues with new environments?

vilhelmen commented 5 years ago

Thanks for the reminder. Booting up a container, here's what I got. Looks like something may be weird with proj?

waskd6@jupyter-waskd6:~/jupyter$ conda info

     active environment : None
       user config file : /home/waskd6/.condarc
 populated config files : /opt/conda/.condarc
                          /home/waskd6/.condarc
          conda version : 4.6.14
    conda-build version : not installed
         python version : 3.7.3.final.0
       base environment : /opt/conda  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/linux-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /opt/conda/pkgs
                          /home/waskd6/.conda/pkgs
       envs directories : /opt/conda/envs
                          /home/waskd6/.conda/envs
               platform : linux-64
             user-agent : conda/4.6.14 requests/2.21.0 CPython/3.7.3 Linux/5.0.7-1.el7.elrepo.x86_64 ubuntu/18.04.2 glibc/2.27
                UID:GID : 848809:848809
             netrc file : None
           offline mode : False
## Package Plan ##

  environment location: /opt/conda

  added / updated specs:
    - r-rgdal

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    boost-cpp-1.68.0           |    h11c811c_1000        20.5 MB  conda-forge
    freexl-1.0.5               |    h14c3975_1002          43 KB  conda-forge
    geos-3.7.1                 |    hf484d3e_1000         1.6 MB  conda-forge
    geotiff-1.5.1              |       he0d578f_1         275 KB  conda-forge
    giflib-5.1.7               |       h516909a_1         455 KB  conda-forge
    hdf4-4.2.13                |    h9a582f1_1002         952 KB  conda-forge
    json-c-0.13.1              |    h14c3975_1001          71 KB  conda-forge
    kealib-1.4.10              |    h1978553_1003         172 KB  conda-forge
    libdap4-3.19.1             |    hd48c02d_1000         1.6 MB  conda-forge
    libgdal-2.4.1              |       h1500935_2        18.2 MB  conda-forge
    libkml-1.3.0               |    h328b03d_1009         637 KB  conda-forge
    libnetcdf-4.6.2            |    hbdf4f91_1001         1.3 MB  conda-forge
    libspatialite-4.3.0a       |    h3360108_1027         3.1 MB  conda-forge
    openjpeg-2.3.1             |       h58a6597_0         470 KB  conda-forge
    poppler-0.67.0             |    h2fc8fa2_1002         8.8 MB  conda-forge
    poppler-data-0.4.9         |                1         3.4 MB  conda-forge
    proj4-6.0.0                |       h765ec9c_0         9.2 MB  conda-forge
    r-rgdal-1.3_9              |   r351h1b1f3b2_0         2.0 MB  conda-forge
    r-sp-1.3_1                 |r351h96ca727_1000         1.9 MB  conda-forge
    xerces-c-3.2.2             |    hac72e42_1001         3.3 MB  conda-forge
    ------------------------------------------------------------
                                           Total:        78.1 MB

The following NEW packages will be INSTALLED:

  boost-cpp          conda-forge/linux-64::boost-cpp-1.68.0-h11c811c_1000
  freexl             conda-forge/linux-64::freexl-1.0.5-h14c3975_1002
  geos               conda-forge/linux-64::geos-3.7.1-hf484d3e_1000
  geotiff            conda-forge/linux-64::geotiff-1.5.1-he0d578f_1
  giflib             conda-forge/linux-64::giflib-5.1.7-h516909a_1
  hdf4               conda-forge/linux-64::hdf4-4.2.13-h9a582f1_1002
  json-c             conda-forge/linux-64::json-c-0.13.1-h14c3975_1001
  kealib             conda-forge/linux-64::kealib-1.4.10-h1978553_1003
  libdap4            conda-forge/linux-64::libdap4-3.19.1-hd48c02d_1000
  libgdal            conda-forge/linux-64::libgdal-2.4.1-h1500935_2
  libkml             conda-forge/linux-64::libkml-1.3.0-h328b03d_1009
  libnetcdf          conda-forge/linux-64::libnetcdf-4.6.2-hbdf4f91_1001
  libspatialite      conda-forge/linux-64::libspatialite-4.3.0a-h3360108_1027
  openjpeg           conda-forge/linux-64::openjpeg-2.3.1-h58a6597_0
  poppler            conda-forge/linux-64::poppler-0.67.0-h2fc8fa2_1002
  poppler-data       conda-forge/noarch::poppler-data-0.4.9-1
  proj4              conda-forge/linux-64::proj4-6.0.0-h765ec9c_0
  r-rgdal            conda-forge/linux-64::r-rgdal-1.3_9-r351h1b1f3b2_0
  r-sp               conda-forge/linux-64::r-sp-1.3_1-r351h96ca727_1000
  xerces-c           conda-forge/linux-64::xerces-c-3.2.2-hac72e42_1001

Proceed ([y]/n)? y

Downloading and Extracting Packages
poppler-0.67.0       | 8.8 MB    | ################################################################################ | 100%
hdf4-4.2.13          | 952 KB    | ################################################################################ | 100%
libkml-1.3.0         | 637 KB    | ################################################################################ | 100%
kealib-1.4.10        | 172 KB    | ################################################################################ | 100%
libdap4-3.19.1       | 1.6 MB    | ################################################################################ | 100%
r-rgdal-1.3_9        | 2.0 MB    | ################################################################################ | 100%
proj4-6.0.0          | 9.2 MB    | ################################################################################ | 100%
libgdal-2.4.1        | 18.2 MB   | ################################################################################ | 100%
geotiff-1.5.1        | 275 KB    | ################################################################################ | 100%
giflib-5.1.7         | 455 KB    | ################################################################################ | 100%
poppler-data-0.4.9   | 3.4 MB    | ################################################################################ | 100%
freexl-1.0.5         | 43 KB     | ################################################################################ | 100%
json-c-0.13.1        | 71 KB     | ################################################################################ | 100%
xerces-c-3.2.2       | 3.3 MB    | ################################################################################ | 100%
libnetcdf-4.6.2      | 1.3 MB    | ################################################################################ | 100%
geos-3.7.1           | 1.6 MB    | ################################################################################ | 100%
openjpeg-2.3.1       | 470 KB    | ################################################################################ | 100%
r-sp-1.3_1           | 1.9 MB    | ################################################################################ | 100%
libspatialite-4.3.0a | 3.1 MB    | ################################################################################ | 100%
boost-cpp-1.68.0     | 20.5 MB   | ################################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
waskd6@jupyter-waskd6:~/jupyter$ gdalinfo --version
GDAL 2.4.1, released 2019/03/15
waskd6@jupyter-waskd6:~/jupyter$ R

R version 3.5.1 (2018-07-02) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-conda_cos6-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(rgdal)
Loading required package: sp
Error: package or namespace load failed for ‘rgdal’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/opt/conda/lib/R/library/rgdal/libs/rgdal.so':
  libproj.so.13: cannot open shared object file: No such file or directory
>
Save workspace image? [y/n/c]: n
dpryan79 commented 5 years ago

Yeah, it looks like there's some pinning that should happen.