-
Notifications
You must be signed in to change notification settings - Fork 218
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
Error while loading shared libraries: libgdal.so.32 for Python 3.10/Numpy 1.23 tests #2215
Error while loading shared libraries: libgdal.so.32 for Python 3.10/Numpy 1.23 tests #2215
Comments
Hmm, it seems like gmt-6.4.0-h8b1eae8_5.conda is still being favoured over gmt-6.4.0-h8b1eae8_6.conda (which contains the GDAL pinning fix done in conda-forge/gmt-feedstock#232), e.g. at https://github.com/GenericMappingTools/pygmt/actions/runs/3570223001/jobs/6000995039#step:5:148. I'm not sure why the |
Just tried to create a fresh environment on macOS: The following command install GMT 6.4.0 build 6 and GDAL 3.6.0:
but installing
So, maybe geopandas for Python 3.10 is not compiled with GDAL 3.6? Also tried the following command:
Does this mean the GDAl itself is problematic? |
More tests:
Perhaps we have to wait for conda-forge/fiona-feedstock#202. |
A little tempted to submit a repodata patch to https://github.com/conda-forge/conda-forge-repodata-patches-feedstock/tree/main/recipe to update the Otherwise, another workaround is to tell people to use GMT 6.4.0 build 2 (which is built with GDAL 3.5). E.g. by running an install command like:
|
Sounds good. |
Ok, patch submitted at conda-forge/conda-forge-repodata-patches-feedstock#366. |
Repodata patch has been merged. I just tried running |
Description of the problem
Scheduled unit tests are failing for Linux, macOS and Windows for Python 3.10/NumPy 1.23, and also the GMT Dev Tests for Windows.
This seems to be due to GDAL version is no longer pinned after conda-forge/gmt-feedstock#226, causing GDAL 3.5 to be accidentally installed in the environment, though GMT is built with GDAL 3.6. Compare the previously working linux-64/gmt-6.4.0-h78e8b95_2.tar.bz2 (which has
gdal >=3.5.1,<3.6.0a0
) with the newer linux-64/gmt-6.4.0-hb5a752b_3.conda (which doesn't pin to a specificgdal
version).Minimal Complete Verifiable Example
See sample traceback at https://github.com/GenericMappingTools/pygmt/actions/runs/3560839755/jobs/5981192688#step:11:30
Full error message
System information
The text was updated successfully, but these errors were encountered: