-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Python bindings should prefer bundled GDAL over system packages #10764
Comments
In your build environment, does |
Yep, 3.9.2:
|
@clickworkorange hum I'm a bit at loss then where it finds your other GDAL version ? Where is 3.6.2 is installed ? |
It's a dependency of Blender and Flowblade, amongst other things:
|
Maybe that was not the answer you were looking for. On my system libgdal 3.6.2 is found here: |
It seems this issue has been reported before, but neither the fix or the work-around prevent it happening for me: #8882 |
Finally managed to get GDAL 3.9.2 to build by manually editing
I have no idea if this hacky fix caused any issues, but GDAL seemed to build without error. |
What is the bug?
On completing a fresh build of GDAL 3.9.2 the Python bindings fail to build with
Unfortunately GDAL 3.6.2 is required by a bunch of things on my system, including Blender. It would be nice if the GDAL Python bindings build script would look in the build directory for GDAL before trying the system libs; GDAL 3.9.2 is sitting right there.
Steps to reproduce the issue
Download and unpack gdal-3.9.2.tar.gz. Then:
Versions and provenance
Devuan Daedalus
Linux 6.1.0-25-amd64
cmake 3.25.1
Python 3.11.2
gcc/g++ 12.2.0
Additional context
No response
The text was updated successfully, but these errors were encountered: