[gdal-dev] ESRI FileGDB not available in Docker ubuntu-full after enabling WITH_FILEGDB

Even Rouault even.rouault at spatialys.com
Thu Jul 14 02:00:31 PDT 2022


Travis,

Can you try the patch at https://github.com/OSGeo/gdal/pull/6079 ? (the 
FileGDB part wasn't correctly ported when the Docker images have been 
ported to CMake builds)

Even

Le 14/07/2022 à 02:20, Travis Featherston a écrit :
> I'm unable to see the ESRI FileGDB driver after enabling it in the 
> Dockerfile
>
> Steps
> 1) git clone https://github.com/OSGeo/gdal.git
> 2) Edit docker/ubuntu-full/Dockerfile; set ARG WITH_FILEGDB=yes
> 3) ubuntu-full/build.sh --release --gdal v3.5.1 --proj master
> 4) docker run --rm osgeo/gdal:ubuntu-full-v3.5.1 ogr2ogr --formats 
> |grep -i gdb
>
> Result
> It seems to build successfully without any warning/errors but only the 
> Open driver is available.
> OpenFileGDB -vector- (rov): ESRI FileGDB
>
> Digging into the dockerfile and images ...
>
> osgeo/gdal:ubuntu-full-v3.5.1_builder
>   /usr/local/FileGDB_API/lib/
>     libFileGDBAPI.so  libfgdbunixrtl.a  libfgdbunixrtl.so
>
>   /build_thirdparty/usr/lib/
>     libFileGDBAPI.so  libfgdbunixrtl.a  libfgdbunixrtl.so
>
>   /usr/local/FileGDB_API/include/
>     FileGDBAPI.h  FileGDBCore.h  Geodatabase.h 
>  GeodatabaseManagement.h  Raster.h  Row.h  Table.h  Util.h  make.include
>
>   /usr/include/
>     FileGDBAPI.h  FileGDBCore.h  Geodatabase.h 
>  GeodatabaseManagement.h  Raster.h  Row.h  Table.h  Util.h  make.include
>
> osgeo/gdal:ubuntu-full-v3.5.1
>   /usr/lib
>     libFileGDBAPI.so  libfgdbunixrtl.a  libfgdbunixrtl.so
>
>   /usr/include/
>     <none of the header files are here, were they only needed during 
> the gdal compile?>
>
> Is there a disconnect between these two lines in the docker file?
> Line #175 && cp /usr/local/FileGDB_API/include/* /usr/include \
> Line #319 COPY --from=builder /build/usr/include/ /usr/include/
>
>
> Any thoughts?
>
> My local env is wsl2 Ubuntu 22.04, with buildkit enabled
>
> Thanks,
> Travis
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20220714/ecf0d1c4/attachment.htm>


More information about the gdal-dev mailing list