<span style=" font-size:10pt;font-family:sans-serif">Hello Robert,</span><br><br><span style=" font-size:10pt;font-family:sans-serif">I'm moving on.</span><br><br><span style=" font-size:10pt;font-family:sans-serif">I solved the problem
with the missing certificates as follows.</span><br><br><span style=" font-size:10pt;font-family:sans-serif">$ apt update</span><br><span style=" font-size:10pt;font-family:sans-serif">$ apt upgrade</span><br><br><span style=" font-size:10pt;font-family:sans-serif">$ rm -f /etc/ssl/certs/ca-bundle.crt</span><br><span style=" font-size:10pt;font-family:sans-serif">$ apt reinstall
ca-certificates</span><br><span style=" font-size:10pt;font-family:sans-serif">$ update-ca-certificates
</span><br><br><span style=" font-size:10pt;font-family:sans-serif">Now it also works
under Ubuntu 20.04 ;o).</span><br><br><span style=" font-size:10pt;font-family:sans-serif">And the test continues.</span><br><br><span style=" font-size:10pt;font-family:sans-serif">Michael<br></span><br><br><br><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Von:
       </span><span style=" font-size:9pt;font-family:sans-serif">"Michael
Otto via gdal-dev" <gdal-dev@lists.osgeo.org></span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">An:
       </span><span style=" font-size:9pt;font-family:sans-serif">"Robert
Coup" <robert.coup@koordinates.com></span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Kopie:
       </span><span style=" font-size:9pt;font-family:sans-serif">gdal-dev@lists.osgeo.org</span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Datum:
       </span><span style=" font-size:9pt;font-family:sans-serif">27.02.2024
14:02</span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Betreff:
       </span><span style=" font-size:9pt;font-family:sans-serif">[gdal-dev]
Antwort: Re: Segmentation fault (core dumped) in gdal_translate & ogrinfo
& ogr2ogr</span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Gesendet
von:        </span><span style=" font-size:9pt;font-family:sans-serif">"gdal-dev"
<gdal-dev-bounces@lists.osgeo.org></span><br><hr noshade><br><br><br><span style=" font-size:10pt;font-family:sans-serif">Hello Robert,</span><span style=" font-size:12pt"><br></span><span style=" font-size:10pt;font-family:sans-serif"><br>I have now been able to find the error myself.</span><span style=" font-size:12pt"><br></span><span style=" font-size:10pt;font-family:sans-serif"><br>I forgot to set the proxy in the Docker container. After I added it, it
also worked under Fedora.</span><span style=" font-size:12pt"><br></span><span style=" font-size:10pt;font-family:sans-serif"><br>Now I'm stuck under Ubuntu 20.04. There comes the next error :o( :</span><span style=" font-size:12pt"><br></span><span style=" font-size:10pt;font-family:sans-serif"><br>ERROR 1: error setting certificate file: /etc/ssl/certs/ca-certificates.crt<br>ERROR 1: Error returned by server : error setting certificate file: /etc/ssl/certs/ca-certificates.crt
(77)<br>ogrinfo failed - unable to open 'WFS:</span><a href="https://........'/"><span style=" font-size:10pt;color:blue;font-family:sans-serif"><u>https://........'</u></span></a><span style=" font-size:10pt;font-family:sans-serif">.</span><span style=" font-size:12pt"><br></span><span style=" font-size:10pt;font-family:sans-serif"><br>Michael</span><span style=" font-size:12pt"><br></span><span style=" font-size:10pt;font-family:sans-serif"><br>PS:<br>I built Gdal under Linux Mint 21.3 (Virginia).<br>The host system for the Docker containers is Ubuntu 22.04.3 LTS (Jammy
Jellyfish).</span><span style=" font-size:12pt"><br><br><br><br></span><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif"><br>Von:        </span><span style=" font-size:9pt;font-family:sans-serif">"Robert
Coup" <robert.coup@koordinates.com></span><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif"><br>An:        </span><span style=" font-size:9pt;font-family:sans-serif">"Michael
Otto" <michael.otto@data-experts.de></span><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif"><br>Kopie:        </span><span style=" font-size:9pt;font-family:sans-serif">gdal-dev@lists.osgeo.org</span><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif"><br>Datum:        </span><span style=" font-size:9pt;font-family:sans-serif">27.02.2024
13:14</span><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif"><br>Betreff:        </span><span style=" font-size:9pt;font-family:sans-serif">Re:
[gdal-dev] Segmentation fault (core dumped) in gdal_translate & ogrinfo
& ogr2ogr</span><span style=" font-size:12pt"><br></span><hr noshade><span style=" font-size:12pt"><br><br><br>Hi Michael,<br><br>On Tue, 27 Feb 2024 at 11:40, Michael Otto via gdal-dev <</span><a href="mailto:gdal-dev@lists.osgeo.org"><span style=" font-size:12pt;color:blue"><u>gdal-dev@lists.osgeo.org</u></span></a><span style=" font-size:12pt">>
wrote:</span><span style=" font-size:10pt;font-family:sans-serif"><br><br>with a lot of effort and support from this group I created a first static
version of GDAL (incl. the apps) under Linux x64 using vcpkg.</span><span style=" font-size:12pt"><br><br>Yay<br> </span><span style=" font-size:10pt;font-family:sans-serif"><br>For testing I copied the built apps and the data files to different target
platforms and set the environment variables accordingly.<br>In a current Linux Mint VM and in an Alpine Linux 3.13 Docker container,
the command line calls worked perfectly.</span><span style=" font-size:12pt"><br><br>What system did you build gdal on/under?<br> </span><span style=" font-size:10pt;font-family:sans-serif"><br>Under a Fedora Linux 39 Docker container (docker pull fedora, ...) an error
occurs when executing ogrinfo, ogr2ogr and gdal_translate (the other tools
were not tested):</span><span style=" font-size:12pt"><br><br>What's the host OS?<br> </span><span style=" font-size:10pt;font-family:sans-serif"><br><br>>> Segmentation fault (core dumped)<br><br>Does anyone have an idea or know what the problem is?</span><span style=" font-size:12pt"><br><br>What does a backtrace from gdb produce?<br></span><tt><span style=" font-size:12pt"><br>$ gdb --args ogrinfo <br>... loading stuff<br>(gdb) run<br>...<br>Program received signal SIGSEGV, Segmentation fault.<br>0x12c0ffee in _a_function ()<br>(gdb) thread apply all backtrace<br>... the backtrace ...<br>(gdb) quit</span></tt><span style=" font-size:12pt"><br><br>Use the gdal tools from the </span><tt><span style=" font-size:12pt">installed/{platform}/tools/gdal/debug/</span></tt><span style=" font-size:12pt">vcpkg
build folder, they're more likely to produce readable traces.<br><br>Rob :)<br><br><br></span><tt><span style=" font-size:10pt">_______________________________________________<br>gdal-dev mailing list<br>gdal-dev@lists.osgeo.org<br></span></tt><a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev"><tt><span style=" font-size:10pt">https://lists.osgeo.org/mailman/listinfo/gdal-dev</span></tt></a><tt><span style=" font-size:10pt"><br></span></tt><br><br><font face="sans-serif"></font>