Skip to content
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

gdal 3.0.2 #46817

Closed
wants to merge 10 commits into from
Closed

gdal 3.0.2 #46817

wants to merge 10 commits into from

Conversation

bayandin
Copy link
Member

Created with brew bump-formula-pr.

@fxcoudert
Copy link
Member

==> python3 -c import gdal
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python3.7/site-packages/gdal.py", line 2, in <module>
    from osgeo.gdal import deprecation_warn
  File "/usr/local/lib/python3.7/site-packages/osgeo/__init__.py", line 21, in <module>
    _gdal = swig_import_helper()
  File "/usr/local/lib/python3.7/site-packages/osgeo/__init__.py", line 17, in swig_import_helper
    _mod = imp.load_module('_gdal', fp, pathname, description)
  File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/imp.py", line 242, in load_module
    return load_dynamic(name, filename, file)
  File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/imp.py", line 342, in load_dynamic
    return _load(spec)
ImportError: dlopen(/usr/local/lib/python3.7/site-packages/osgeo/_gdal.cpython-37m-darwin.so, 2): Symbol not found: _curl_mime_addpart
  Referenced from: /usr/local/Cellar/gdal/3.0.2/lib/libgdal.26.dylib
  Expected in: /usr/lib/libcurl.4.dylib
 in /usr/local/Cellar/gdal/3.0.2/lib/libgdal.26.dylib

@Bo98
Copy link
Member

Bo98 commented Nov 21, 2019

curl_mime_addpart is only available in system curl shipped with Catalina and later. The fix will be similar to git (#46474):

if MacOS.version >= :mojave && MacOS::CLT.installed?
  ENV["HOMEBREW_SDKROOT"] = MacOS::CLT.sdk_path(MacOS.version)
end

Not tested on gdal. It might need tweaking if HOMEBREW_SDKROOT doesn't work. Basic idea is to get it to use the curl headers from the 10.14 SDK rather than 10.15 when building on 10.14.

@Bo98
Copy link
Member

Bo98 commented Nov 22, 2019

Let me know if you plan to deal with this before or after 3.8. Just trying to keep track of open Python pull requests.

@bayandin
Copy link
Member Author

Let me know if you plan to deal with this before or after 3.8. Just trying to keep track of open Python pull requests.

I think I'll try to sort it out after Python 3.8, thanks!

@Bo98 Bo98 added do not merge python Python use is a significant feature of the PR or issue labels Nov 23, 2019
@stale
Copy link

stale bot commented Jan 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale No recent activity label Jan 2, 2020
@stale stale bot removed the stale No recent activity label Jan 7, 2020
@bayandin
Copy link
Member Author

bayandin commented Jan 7, 2020

@stale
Copy link

stale bot commented Jan 28, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale No recent activity label Jan 28, 2020
@stale stale bot closed this Feb 4, 2020
@bayandin bayandin mentioned this pull request Feb 17, 2020
@lock lock bot added the outdated PR was locked due to age label Mar 11, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Mar 11, 2020
@bayandin bayandin deleted the gdal-3.0.2 branch July 5, 2020 11:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age python Python use is a significant feature of the PR or issue stale No recent activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants