Re: [gdal-dev] Building GDAL on Ubuntu 22.04

2024-07-12 Thread Eric Knudstrup via gdal-dev
I'm still having trouble with getting it to build osgeo: [ 96%] Generating osgeo/_gdal.cpython-310-x86_64-linux-gnu.so, osgeo/_gdalconst.cpython-310-x86_64-linux-gnu.so, osgeo/_gnm.cpython-310-x86_64-linux-gnu.so, osgeo/_ogr.cpython-310-x86_64-linux-gnu.so, osgeo/_osr.cpython-310-x86_64-linu

Re: [gdal-dev] gdal docker with numpy2-compatible python bindings

2024-07-12 Thread Vincent Schut via gdal-dev
On 12/07/2024 16:26, Even Rouault wrote: Hi, I hoped that the python bindings in the docker image would be compatible with both numpy 1 and 2, but apparently they're not? Would it be possible to create docker images with bindings that are compatible with numpy2? Or would you rather wait until

Re: [gdal-dev] gdal docker with numpy2-compatible python bindings

2024-07-12 Thread Even Rouault via gdal-dev
Hi, I hoped that the python bindings in the docker image would be compatible with both numpy 1 and 2, but apparently they're not? Would it be possible to create docker images with bindings that are compatible with numpy2? Or would you rather wait until the official ubuntu numpy package moves t

[gdal-dev] gdal docker with numpy2-compatible python bindings

2024-07-12 Thread Vincent Schut via gdal-dev
Hi, the current gdal-ubuntu-small docker (3.9.1) appears to have python bindings that are not compatible with numpy 2.0.0. If I pip install --upgrade numpy==2.0.0 and then try `from osgeo import gdal, gdal_array` I get an error: In [4]: from osgeo import gdal, gdal_array A module that was com

Re: [gdal-dev] Building GDAL on Ubuntu 22.04

2024-07-12 Thread Eric Knudstrup via gdal-dev
On 7/6/24 12:59 AM, Even Rouault wrote: Hi, when using CLang, GDAL forces the use of libstdc++ for linking, so seeing "cannot find -lstdc++", I suspect you might lack the installation of libstdc++-11-dev package When I tried to install that package I got: ~# apt-get install libstdc++-11-de