<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Travis,</p>
<p>Can you try the patch at <a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/pull/6079">https://github.com/OSGeo/gdal/pull/6079</a>
? (the FileGDB part wasn't correctly ported when the Docker images
have been ported to CMake builds)</p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 14/07/2022 à 02:20, Travis
Featherston a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAHK7dstSXf0A_KpnpgNa+W5UM57qL3PaZHRHgCVcd=UMVP5UiQ@mail.gmail.com">
<div dir="ltr">
<div><span>I'm unable to see the ESRI FileGDB driver after
enabling it in the Dockerfile<br>
</span></div>
<div><span><br>
</span></div>
<div><span>Steps</span></div>
<div><span>1) git clone <a
href="https://github.com/OSGeo/gdal.git"
moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/OSGeo/gdal.git</a></span></div>
<div><span>2) Edit docker/ubuntu-full/Dockerfile; set ARG
WITH_FILEGDB=yes<br>
</span></div>
<div><span>3) ubuntu-full/build.sh --release --gdal v3.5.1
--proj master</span></div>
<div><span>4) docker run --rm osgeo/gdal:ubuntu-full-v3.5.1
ogr2ogr --formats |grep -i gdb</span></div>
<div><span><br>
</span></div>
<div><span>Result</span></div>
<div><span>It seems to build successfully without any
warning/errors but only the Open driver is available.<br>
</span></div>
<div><span>OpenFileGDB -vector- (rov): ESRI FileGDB</span></div>
<div><span><br>
</span></div>
<div><span>Digging into the dockerfile and images ...<br>
</span></div>
<div><span><br>
</span></div>
<div><span>osgeo/gdal:ubuntu-full-v3.5.1_builder</span></div>
<div><span> /usr/local/FileGDB_API/lib/</span></div>
<div><span> libFileGDBAPI.so libfgdbunixrtl.a
libfgdbunixrtl.so</span></div>
<div><span><br>
</span></div>
<div><span> /build_thirdparty/usr/lib/</span></div>
<div><span> libFileGDBAPI.so libfgdbunixrtl.a
libfgdbunixrtl.so<br>
</span></div>
<div><span><br>
</span></div>
<div><span> /usr/local/FileGDB_API/include/</span></div>
<div><span> FileGDBAPI.h FileGDBCore.h Geodatabase.h
GeodatabaseManagement.h Raster.h Row.h Table.h Util.h
make.include</span></div>
<div><span> <br>
</span></div>
<div><span> /usr/include/</span></div>
<div><span> FileGDBAPI.h FileGDBCore.h Geodatabase.h
GeodatabaseManagement.h Raster.h Row.h Table.h Util.h
make.include</span>
</div>
<div><span><br>
</span></div>
<div><span>osgeo/gdal:ubuntu-full-v3.5.1 <br>
</span></div>
<div><span> /usr/lib</span></div>
<div><span> libFileGDBAPI.so libfgdbunixrtl.a
libfgdbunixrtl.so <br>
</span></div>
<div><span> <br>
</span></div>
<div><span> /usr/include/</span></div>
<div><span> <none of the header files are here, were they
only needed during the gdal compile?></span></div>
<div><span><br>
</span></div>
<div><span>Is there a disconnect between these two lines in the
docker file?<br>
</span></div>
<div><span>Line #175 && cp
/usr/local/FileGDB_API/include/* /usr/include \ <br>
</span></div>
<div><span>Line #319 <span class="gmail-pl-k">COPY</span>
--from=builder /build/usr/include/ /usr/include/ <br>
</span></div>
<div><span><br>
</span></div>
<div><span><br>
</span></div>
<div><span>Any thoughts? <br>
</span></div>
<div><span></span></div>
<div><span><br>
</span></div>
<div><span>My local env is wsl2 Ubuntu 22.04, with buildkit
enabled<br>
</span></div>
<div><span><br>
</span></div>
<div><span>Thanks,</span></div>
<div><span>Travis<br>
</span></div>
<div><span><span><br>
</span></span></div>
<div><span><span><br>
</span></span></div>
<div><span><span><br>
</span>
</span></div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>