<div dir="ltr">BTW - there was a typo in my email - the last line should, of course, have read ...<br><br>"<span style="">Then you just need to use the "gdaltest" environment when you want to use GDAL."</span><div><span style=""><br></span></div><div><span style="">That makes more sense :)</span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 7 Dec 2021 at 11:28, Idan Miara <<a href="mailto:idan@miara.com">idan@miara.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks Paul! It works!<div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 7 Dec 2021 at 13:15, Paul Harwood <<a href="mailto:runette@gmail.com" target="_blank">runette@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Results like that are usually caused because there is something already in the conda environment that is causing a conflict and I notice that it is installing into <span> /Users/idan.miara/opt/</span><span>miniconda3 which would usually mean you have installed into the "base" conda environment - which is not usually the best idea.<br><br>If you try ...<br><br>conda create --name gdaltest</span><div><span>conda activate gdaltest</span></div><div><span>conda install -c conda-forge gdal</span><span><br></span></div><div><span><br></span></div><div><span>{noteing that the name "gdaltest" in the first and second lines could be any name for a conda environment that is not already in use}</span></div><div><span><br></span></div><div><span>... I am reasonably sure it will work.</span></div><div><span><br></span></div><div><span>Then you just need to use the "gdaltest" environment when you want to use conda.</span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 7 Dec 2021 at 09:03, Idan Miara <<a href="mailto:idan@miara.com" target="_blank">idan@miara.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<br><div><br></div><div>I'm trying to install gdal on MacOS Big Sur via conda. </div><div>For some reason it installs v3.0.2, even though v3.4.0 is available.</div><div>Also it doesn't run, and gives the following error:</div><div><br></div><div>~ gdalinfo --version              <br>dyld: Library not loaded: @rpath/libpoppler.91.dylib<br></div><div><br></div><div>Thanks!</div><div>logs are below.</div><div><br></div><div>Kind regards,</div><div>Idan</div><div><br></div><div><br></div><div>conda install -c conda-forge gdal<br><br>Collecting package metadata (current_repodata.json): done<br>Solving environment: done<br><br>## Package Plan ##<br><br>  environment location: /Users/idan.miara/opt/miniconda3<br><br>  added / updated specs:<br>    - gdal<br><br><br>The following packages will be downloaded:<br><br>    package                    |            build<br>    ---------------------------|-----------------<br>    boost-cpp-1.72.0           |       hdf9ef73_0        19.1 MB  conda-forge<br>    bzip2-1.0.8                |       h0d85af4_4         155 KB  conda-forge<br>    c-ares-1.18.1              |       h0d85af4_0         100 KB  conda-forge<br>    ca-certificates-2021.10.8  |       h033912b_0         139 KB  conda-forge<br>    cairo-1.16.0               |    hec6a9b0_1003         1.3 MB  conda-forge<br>    certifi-2021.10.8          |   py39h6e9494a_1         145 KB  conda-forge<br>    cfitsio-3.470              |       h01dc385_7         1.3 MB  conda-forge<br>    conda-4.11.0               |   py39h6e9494a_0        16.9 MB  conda-forge<br>    curl-7.78.0                |       h7bc2e8c_0         133 KB<br>    expat-2.4.1                |       he49afe7_0         143 KB  conda-forge<br>    fontconfig-2.13.1          |    h10f422b_1005         271 KB  conda-forge<br>    freetype-2.10.4            |       h4cff582_1         890 KB  conda-forge<br>    freexl-1.0.6               |       h0d85af4_0          42 KB  conda-forge<br>    gdal-3.0.2                 |   py39ha6ec53f_1         1.1 MB<br>    geos-3.8.0                 |       hb1e8313_0         815 KB<br>    geotiff-1.6.0              |       h02c1893_0         120 KB<br>    gettext-0.21.0             |       h7535e17_0         2.6 MB<br>    giflib-5.2.1               |       hbcb3906_2          71 KB  conda-forge<br>    glib-2.69.1                |       hdf23fa2_0         2.7 MB<br>    hdf4-4.2.13                |       h39711bb_2         682 KB<br>    hdf5-1.10.6                |nompi_hc5d9132_1114         3.1 MB  conda-forge<br>    icu-64.2                   |       h6de7cb9_1        12.3 MB  conda-forge<br>    jbig-2.1                   |    h0d85af4_2003          42 KB  conda-forge<br>    jpeg-9d                    |       hbcb3906_0         250 KB  conda-forge<br>    json-c-0.13.1              |    h575e443_1002          66 KB  conda-forge<br>    kealib-1.4.14              |       h31dd65d_2         156 KB  conda-forge<br>    krb5-1.19.2                |       hcfbf3a7_0         1.3 MB  conda-forge<br>    lerc-2.2.1                 |       h046ec9c_0         164 KB  conda-forge<br>    libblas-3.9.0              |12_osx64_openblas          12 KB  conda-forge<br>    libcblas-3.9.0             |12_osx64_openblas          12 KB  conda-forge<br>    libcurl-7.78.0             |       hb8e4fae_0         311 KB<br>    libcxx-12.0.1              |       habf9029_0         1.1 MB  conda-forge<br>    libdap4-3.19.1             |       h3d3e54a_0         1.1 MB<br>    libdeflate-1.7             |       h35c211d_5          67 KB  conda-forge<br>    libedit-3.1.20191231       |       h0678c8f_2         103 KB  conda-forge<br>    libev-4.33                 |       haf1e3a3_1          99 KB  conda-forge<br>    libgdal-3.0.2              |       ha1444b2_1        10.4 MB<br>    libgfortran-5.0.0          |9_3_0_h6c81a4c_23          19 KB  conda-forge<br>    libgfortran5-9.3.0         |      h6c81a4c_23         1.7 MB  conda-forge<br>    libiconv-1.16              |       haf1e3a3_0         1.3 MB  conda-forge<br>    libkml-1.3.0               |    h88bc94a_1012         473 KB  conda-forge<br>    liblapack-3.9.0            |12_osx64_openblas          12 KB  conda-forge<br>    libnetcdf-4.6.1            |       hfd9a460_4         782 KB<br>    libnghttp2-1.43.0          |       h6f36284_1         867 KB  conda-forge<br>    libopenblas-0.3.18         |openmp_h3351f45_0         9.0 MB  conda-forge<br>    libpng-1.6.37              |       h7cec526_2         313 KB  conda-forge<br>    libpq-12.2                 |       h1b4eb34_1         2.0 MB<br>    libspatialite-4.3.0a       |       h5142b36_0         2.1 MB<br>    libssh2-1.10.0             |       h52ee1ee_2         221 KB  conda-forge<br>    libtiff-4.3.0              |       h1167814_1         621 KB  conda-forge<br>    libwebp-base-1.2.1         |       h0d85af4_0         692 KB  conda-forge<br>    libxml2-2.9.10             |       h53d96d6_0         1.2 MB  conda-forge<br>    llvm-openmp-12.0.1         |       hda6cdc1_1         287 KB  conda-forge<br>    lz4-c-1.9.3                |       he49afe7_1         155 KB  conda-forge<br>    numpy-1.21.4               |   py39h7eed0ac_0         5.8 MB  conda-forge<br>    openjpeg-2.3.1             |       h6cbf5cd_3         373 KB  conda-forge<br>    openssl-1.1.1l             |       h0d85af4_0         1.9 MB  conda-forge<br>    pcre-8.45                  |       he49afe7_0         220 KB  conda-forge<br>    pixman-0.38.0              |    h01d97ff_1003         611 KB  conda-forge<br>    poppler-0.89.0             |       h9de36d4_1         1.6 MB  conda-forge<br>    poppler-data-0.4.11        |       hd8ed1ab_0         3.6 MB  conda-forge<br>    postgresql-12.2            |       h1b4eb34_1         3.3 MB<br>    proj-6.2.1                 |       h773a61f_0        10.0 MB  conda-forge<br>    python_abi-3.9             |           2_cp39           4 KB  conda-forge<br>    tiledb-2.3.4               |       h8370e7a_0         2.9 MB  conda-forge<br>    xerces-c-3.2.3             |       h8f8adb3_0         1.5 MB  conda-forge<br>    zstd-1.5.0                 |       h582d3a0_0         583 KB  conda-forge<br>    ------------------------------------------------------------<br>                                           Total:       133.2 MB<br><br>The following NEW packages will be INSTALLED:<br><br>  boost-cpp          conda-forge/osx-64::boost-cpp-1.72.0-hdf9ef73_0<br>  bzip2              conda-forge/osx-64::bzip2-1.0.8-h0d85af4_4<br>  c-ares             conda-forge/osx-64::c-ares-1.18.1-h0d85af4_0<br>  cairo              conda-forge/osx-64::cairo-1.16.0-hec6a9b0_1003<br>  cfitsio            conda-forge/osx-64::cfitsio-3.470-h01dc385_7<br>  curl               pkgs/main/osx-64::curl-7.78.0-h7bc2e8c_0<br>  expat              conda-forge/osx-64::expat-2.4.1-he49afe7_0<br>  fontconfig         conda-forge/osx-64::fontconfig-2.13.1-h10f422b_1005<br>  freetype           conda-forge/osx-64::freetype-2.10.4-h4cff582_1<br>  freexl             conda-forge/osx-64::freexl-1.0.6-h0d85af4_0<br>  gdal               pkgs/main/osx-64::gdal-3.0.2-py39ha6ec53f_1<br>  geos               pkgs/main/osx-64::geos-3.8.0-hb1e8313_0<br>  geotiff            pkgs/main/osx-64::geotiff-1.6.0-h02c1893_0<br>  gettext            pkgs/main/osx-64::gettext-0.21.0-h7535e17_0<br>  giflib             conda-forge/osx-64::giflib-5.2.1-hbcb3906_2<br>  glib               pkgs/main/osx-64::glib-2.69.1-hdf23fa2_0<br>  hdf4               pkgs/main/osx-64::hdf4-4.2.13-h39711bb_2<br>  hdf5               conda-forge/osx-64::hdf5-1.10.6-nompi_hc5d9132_1114<br>  icu                conda-forge/osx-64::icu-64.2-h6de7cb9_1<br>  jbig               conda-forge/osx-64::jbig-2.1-h0d85af4_2003<br>  jpeg               conda-forge/osx-64::jpeg-9d-hbcb3906_0<br>  json-c             conda-forge/osx-64::json-c-0.13.1-h575e443_1002<br>  kealib             conda-forge/osx-64::kealib-1.4.14-h31dd65d_2<br>  krb5               conda-forge/osx-64::krb5-1.19.2-hcfbf3a7_0<br>  lerc               conda-forge/osx-64::lerc-2.2.1-h046ec9c_0<br>  libblas            conda-forge/osx-64::libblas-3.9.0-12_osx64_openblas<br>  libcblas           conda-forge/osx-64::libcblas-3.9.0-12_osx64_openblas<br>  libcurl            pkgs/main/osx-64::libcurl-7.78.0-hb8e4fae_0<br>  libdap4            pkgs/main/osx-64::libdap4-3.19.1-h3d3e54a_0<br>  libdeflate         conda-forge/osx-64::libdeflate-1.7-h35c211d_5<br>  libedit            conda-forge/osx-64::libedit-3.1.20191231-h0678c8f_2<br>  libev              conda-forge/osx-64::libev-4.33-haf1e3a3_1<br>  libgdal            pkgs/main/osx-64::libgdal-3.0.2-ha1444b2_1<br>  libgfortran        conda-forge/osx-64::libgfortran-5.0.0-9_3_0_h6c81a4c_23<br>  libgfortran5       conda-forge/osx-64::libgfortran5-9.3.0-h6c81a4c_23<br>  libiconv           conda-forge/osx-64::libiconv-1.16-haf1e3a3_0<br>  libkml             conda-forge/osx-64::libkml-1.3.0-h88bc94a_1012<br>  liblapack          conda-forge/osx-64::liblapack-3.9.0-12_osx64_openblas<br>  libnetcdf          pkgs/main/osx-64::libnetcdf-4.6.1-hfd9a460_4<br>  libnghttp2         conda-forge/osx-64::libnghttp2-1.43.0-h6f36284_1<br>  libopenblas        conda-forge/osx-64::libopenblas-0.3.18-openmp_h3351f45_0<br>  libpng             conda-forge/osx-64::libpng-1.6.37-h7cec526_2<br>  libpq              pkgs/main/osx-64::libpq-12.2-h1b4eb34_1<br>  libspatialite      pkgs/main/osx-64::libspatialite-4.3.0a-h5142b36_0<br>  libssh2            conda-forge/osx-64::libssh2-1.10.0-h52ee1ee_2<br>  libtiff            conda-forge/osx-64::libtiff-4.3.0-h1167814_1<br>  libwebp-base       conda-forge/osx-64::libwebp-base-1.2.1-h0d85af4_0<br>  libxml2            conda-forge/osx-64::libxml2-2.9.10-h53d96d6_0<br>  llvm-openmp        conda-forge/osx-64::llvm-openmp-12.0.1-hda6cdc1_1<br>  lz4-c              conda-forge/osx-64::lz4-c-1.9.3-he49afe7_1<br>  numpy              conda-forge/osx-64::numpy-1.21.4-py39h7eed0ac_0<br>  openjpeg           conda-forge/osx-64::openjpeg-2.3.1-h6cbf5cd_3<br>  pcre               conda-forge/osx-64::pcre-8.45-he49afe7_0<br>  pixman             conda-forge/osx-64::pixman-0.38.0-h01d97ff_1003<br>  poppler            conda-forge/osx-64::poppler-0.89.0-h9de36d4_1<br>  poppler-data       conda-forge/noarch::poppler-data-0.4.11-hd8ed1ab_0<br>  postgresql         pkgs/main/osx-64::postgresql-12.2-h1b4eb34_1<br>  proj               conda-forge/osx-64::proj-6.2.1-h773a61f_0<br>  python_abi         conda-forge/osx-64::python_abi-3.9-2_cp39<br>  tiledb             conda-forge/osx-64::tiledb-2.3.4-h8370e7a_0<br>  xerces-c           conda-forge/osx-64::xerces-c-3.2.3-h8f8adb3_0<br>  zstd               conda-forge/osx-64::zstd-1.5.0-h582d3a0_0<br><br>The following packages will be UPDATED:<br><br>  ca-certificates    pkgs/main::ca-certificates-2021.7.5-h~ --> conda-forge::ca-certificates-2021.10.8-h033912b_0<br>  certifi            pkgs/main::certifi-2021.5.30-py39hecd~ --> conda-forge::certifi-2021.10.8-py39h6e9494a_1<br>  conda              pkgs/main::conda-4.10.3-py39hecd8cb5_0 --> conda-forge::conda-4.11.0-py39h6e9494a_0<br>  libcxx                         pkgs/main::libcxx-10.0.0-1 --> conda-forge::libcxx-12.0.1-habf9029_0<br>  openssl              pkgs/main::openssl-1.1.1k-h9ed2024_0 --> conda-forge::openssl-1.1.1l-h0d85af4_0<br><br><br>Proceed ([y]/n)? y<br><br><br>Downloading and Extracting Packages<br>bzip2-1.0.8          | 155 KB    | ################################################################################################################################################################################################################################# | 100% <br>fontconfig-2.13.1    | 271 KB    | ################################################################################################################################################################################################################################# | 100% <br>krb5-1.19.2          | 1.3 MB    | ################################################################################################################################################################################################################################# | 100% <br>gdal-3.0.2           | 1.1 MB    | ################################################################################################################################################################################################################################# | 100% <br>freetype-2.10.4      | 890 KB    | ################################################################################################################################################################################################################################# | 100% <br>hdf5-1.10.6          | 3.1 MB    | ################################################################################################################################################################################################################################# | 100% <br>proj-6.2.1           | 10.0 MB   | ################################################################################################################################################################################################################################# | 100% <br>libblas-3.9.0        | 12 KB     | ################################################################################################################################################################################################################################# | 100% <br>lerc-2.2.1           | 164 KB    | ################################################################################################################################################################################################################################# | 100% <br>libgfortran-5.0.0    | 19 KB     | ################################################################################################################################################################################################################################# | 100% <br>lz4-c-1.9.3          | 155 KB    | ################################################################################################################################################################################################################################# | 100% <br>libiconv-1.16        | 1.3 MB    | ################################################################################################################################################################################################################################# | 100% <br>icu-64.2             | 12.3 MB   | ################################################################################################################################################################################################################################# | 100% <br>libedit-3.1.20191231 | 103 KB    | ################################################################################################################################################################################################################################# | 100% <br>libxml2-2.9.10       | 1.2 MB    | ################################################################################################################################################################################################################################# | 100% <br>python_abi-3.9       | 4 KB      | ################################################################################################################################################################################################################################# | 100% <br>numpy-1.21.4         | 5.8 MB    | ################################################################################################################################################################################################################################# | 100% <br>conda-4.11.0         | 16.9 MB   | ################################################################################################################################################################################################################################# | 100% <br>ca-certificates-2021 | 139 KB    | ################################################################################################################################################################################################################################# | 100% <br>poppler-0.89.0       | 1.6 MB    | ################################################################################################################################################################################################################################# | 100% <br>liblapack-3.9.0      | 12 KB     | ################################################################################################################################################################################################################################# | 100% <br>expat-2.4.1          | 143 KB    | ################################################################################################################################################################################################################################# | 100% <br>boost-cpp-1.72.0     | 19.1 MB   | ################################################################################################################################################################################################################################# | 100% <br>glib-2.69.1          | 2.7 MB    | ################################################################################################################################################################################################################################# | 100% <br>libgdal-3.0.2        | 10.4 MB   | ################################################################################################################################################################################################################################# | 100% <br>libspatialite-4.3.0a | 2.1 MB    | ################################################################################################################################################################################################################################# | 100% <br>libnetcdf-4.6.1      | 782 KB    | ################################################################################################################################################################################################################################# | 100% <br>openssl-1.1.1l       | 1.9 MB    | ################################################################################################################################################################################################################################# | 100% <br>hdf4-4.2.13          | 682 KB    | ################################################################################################################################################################################################################################# | 100% <br>libcurl-7.78.0       | 311 KB    | ################################################################################################################################################################################################################################# | 100% <br>jpeg-9d              | 250 KB    | ################################################################################################################################################################################################################################# | 100% <br>openjpeg-2.3.1       | 373 KB    | ################################################################################################################################################################################################################################# | 100% <br>libwebp-base-1.2.1   | 692 KB    | ################################################################################################################################################################################################################################# | 100% <br>c-ares-1.18.1        | 100 KB    | ################################################################################################################################################################################################################################# | 100% <br>libdap4-3.19.1       | 1.1 MB    | ################################################################################################################################################################################################################################# | 100% <br>libpng-1.6.37        | 313 KB    | ################################################################################################################################################################################################################################# | 100% <br>xerces-c-3.2.3       | 1.5 MB    | ################################################################################################################################################################################################################################# | 100% <br>libdeflate-1.7       | 67 KB     | ################################################################################################################################################################################################################################# | 100% <br>geos-3.8.0           | 815 KB    | ################################################################################################################################################################################################################################# | 100% <br>giflib-5.2.1         | 71 KB     | ################################################################################################################################################################################################################################# | 100% <br>libgfortran5-9.3.0   | 1.7 MB    | ################################################################################################################################################################################################################################# | 100% <br>libssh2-1.10.0       | 221 KB    | ################################################################################################################################################################################################################################# | 100% <br>libcxx-12.0.1        | 1.1 MB    | ################################################################################################################################################################################################################################# | 100% <br>libopenblas-0.3.18   | 9.0 MB    | ################################################################################################################################################################################################################################# | 100% <br>geotiff-1.6.0        | 120 KB    | ################################################################################################################################################################################################################################# | 100% <br>libnghttp2-1.43.0    | 867 KB    | ################################################################################################################################################################################################################################# | 100% <br>zstd-1.5.0           | 583 KB    | ################################################################################################################################################################################################################################# | 100% <br>libtiff-4.3.0        | 621 KB    | ################################################################################################################################################################################################################################# | 100% <br>libkml-1.3.0         | 473 KB    | ################################################################################################################################################################################################################################# | 100% <br>libcblas-3.9.0       | 12 KB     | ################################################################################################################################################################################################################################# | 100% <br>tiledb-2.3.4         | 2.9 MB    | ################################################################################################################################################################################################################################# | 100% <br>llvm-openmp-12.0.1   | 287 KB    | ################################################################################################################################################################################################################################# | 100% <br>gettext-0.21.0       | 2.6 MB    | ################################################################################################################################################################################################################################# | 100% <br>curl-7.78.0          | 133 KB    | ################################################################################################################################################################################################################################# | 100% <br>pixman-0.38.0        | 611 KB    | ################################################################################################################################################################################################################################# | 100% <br>json-c-0.13.1        | 66 KB     | ################################################################################################################################################################################################################################# | 100% <br>cairo-1.16.0         | 1.3 MB    | ################################################################################################################################################################################################################################# | 100% <br>postgresql-12.2      | 3.3 MB    | ################################################################################################################################################################################################################################# | 100% <br>jbig-2.1             | 42 KB     | ################################################################################################################################################################################################################################# | 100% <br>certifi-2021.10.8    | 145 KB    | ################################################################################################################################################################################################################################# | 100% <br>libev-4.33           | 99 KB     | ################################################################################################################################################################################################################################# | 100% <br>libpq-12.2           | 2.0 MB    | ################################################################################################################################################################################################################################# | 100% <br>poppler-data-0.4.11  | 3.6 MB    | ################################################################################################################################################################################################################################# | 100% <br>cfitsio-3.470        | 1.3 MB    | ################################################################################################################################################################################################################################# | 100% <br>freexl-1.0.6         | 42 KB     | ################################################################################################################################################################################################################################# | 100% <br>pcre-8.45            | 220 KB    | ################################################################################################################################################################################################################################# | 100% <br>kealib-1.4.14        | 156 KB    | ################################################################################################################################################################################################################################# | 100% <br>Preparing transaction: done<br>Verifying transaction: done<br>Executing transaction: done<br>(base) ➜  ~ gdalinfo --version               <br>dyld: Library not loaded: @rpath/libpoppler.91.dylib<br>  Referenced from: /Users/idan.miara/opt/miniconda3/lib/libgdal.26.dylib<br>  Reason: image not found<br>[1]    76584 abort      gdalinfo --version<br>(base) ➜  ~ <br></div></div>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>
</blockquote></div>
</blockquote></div>